devilhorns pushed a commit to branch master.

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

commit 4e6b06dfd75f5a711d9eb61d6432bbaa220c1bfe
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Thu Jun 18 09:59:29 2015 -0400

    evas-gl-drm: Cleanup compiler warnings when building gl_drm engine
    
    Summary: This cleans up nasty compiler warnings when building the
    gl_drm engine. If we do not define EGL_EGLEXT_PROTOTYPES then we end
    up with implicit declaration warnings
    
    @fix
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/modules/evas/engines/gl_drm/evas_engine.h | 2 ++
 src/modules/evas/engines/gl_drm/evas_outbuf.c | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/modules/evas/engines/gl_drm/evas_engine.h 
b/src/modules/evas/engines/gl_drm/evas_engine.h
index d4395e7..9578a7b 100644
--- a/src/modules/evas/engines/gl_drm/evas_engine.h
+++ b/src/modules/evas/engines/gl_drm/evas_engine.h
@@ -7,7 +7,9 @@
 # include "Evas.h"
 # include "Evas_Engine_GL_Drm.h"
 
+# define EGL_EGLEXT_PROTOTYPES
 # define GL_GLEXT_PROTOTYPES
+
 # include <EGL/egl.h>
 # include <EGL/eglext.h>
 # include <EGL/eglmesaext.h>
diff --git a/src/modules/evas/engines/gl_drm/evas_outbuf.c 
b/src/modules/evas/engines/gl_drm/evas_outbuf.c
index 9e251d1..2c41a2a 100644
--- a/src/modules/evas/engines/gl_drm/evas_outbuf.c
+++ b/src/modules/evas/engines/gl_drm/evas_outbuf.c
@@ -246,7 +246,7 @@ _evas_outbuf_egl_setup(Outbuf *ob)
         DBG("Config Format: %d", format);
         DBG("OB Format: %d", ob->info->info.format);
 
-        if (format == ob->info->info.format)
+        if (format == (int)ob->info->info.format)
           {
              ob->egl.config = cfgs[i];
              break;

-- 


Reply via email to