Evas engine gl_x11: Fixed signed, unsigned comparison.
authorTom Hacohen <tom@stosb.com>
Thu, 18 Apr 2013 11:42:06 +0000 (12:42 +0100)
committerTom Hacohen <tom@stosb.com>
Thu, 18 Apr 2013 11:42:06 +0000 (12:42 +0100)
src/modules/evas/engines/gl_x11/evas_engine.c

index 5b3865c..204bf87 100644 (file)
@@ -2192,7 +2192,7 @@ eng_image_native_set(void *data, void *image, void *native)
                                   {
                                      glXGetFBConfigAttrib(re->win->disp, configs[j],
                                                           GLX_BUFFER_SIZE, &val);
-                                     if (val != depth) continue;
+                                     if (val != (int) depth) continue;
                                   }
                                 glXGetFBConfigAttrib(re->win->disp, configs[j],
                                                      GLX_DRAWABLE_TYPE, &val);