raster pushed a commit to branch master.

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

commit 650578b57368babc6600d65549b62dae9b9e6423
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Mon Nov 30 14:28:36 2020 +0000

    evas - fix build on bigendian
    
    macro forgot to () a param ... so it broke on bigendian as it has
    spaces and a | ...
    
    fixes T8860
---
 src/modules/evas/engines/gl_common/evas_gl_shader.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modules/evas/engines/gl_common/evas_gl_shader.c 
b/src/modules/evas/engines/gl_common/evas_gl_shader.c
index 2f1388056d..489ea3d8c5 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_shader.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_shader.c
@@ -9,8 +9,8 @@
 #define SHADER_EET_CHECKSUM "/shader/checksum"
 #define SHADER_EET_CACHENAME "binary_shader"
 
-#define P(i) ((void*)(intptr_t)i)
-#define I(p) ((int)(intptr_t)p)
+#define P(i) ((void*)(intptr_t)(i))
+#define I(p) ((int)(intptr_t)(p))
 
 #ifdef WORDS_BIGENDIAN
 # define BASEFLAG SHADER_FLAG_DITHER | SHADER_FLAG_BIGENDIAN

-- 


Reply via email to