raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=b86579bed65cc2ab8202ad6b0fb519d231260e6e

commit b86579bed65cc2ab8202ad6b0fb519d231260e6e
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Wed Feb 4 18:03:20 2015 +0900

    eet - fix endianess break added by cedric a year ago in image decoding
    
    @fix
    
    this fixes T1987 - the commit that broke it was:
    
    commit 18d494489c5651aa152622a56579bbc1bda853cb
    Author: Cedric BAIL <cedric.b...@samsung.com>
    Date:   Fri Jan 3 16:20:53 2014 +0900
    
        eet: use eina_swap*() function instead of custom slower one.
---
 src/lib/eet/eet_image.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/lib/eet/eet_image.c b/src/lib/eet/eet_image.c
index 4ac535a..0fb2a94 100644
--- a/src/lib/eet/eet_image.c
+++ b/src/lib/eet/eet_image.c
@@ -314,9 +314,9 @@ eet_data_image_jpeg_alpha_convert(int         *size,
 
 /*---*/
 
-#define SWAP64(x) eina_swap64(x)
-#define SWAP32(x) eina_swap32(x)
-#define SWAP16(x) eina_swap16(x)
+#define SWAP64(x) x = eina_swap64(x)
+#define SWAP32(x) x = eina_swap32(x)
+#define SWAP16(x) x = eina_swap16(x)
 
 #ifdef CONV8
 # undef CONV8

-- 


Reply via email to