evas/gl_drm: Fix warning
authorGwanglim Lee <gl77.lee@samsung.com>
Mon, 8 Dec 2014 10:07:27 +0000 (19:07 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Mon, 8 Dec 2014 10:07:27 +0000 (19:07 +0900)
Using int instead of uint32_t.

src/modules/evas/engines/gl_drm/evas_engine.c

index 5155c4b..4c6bf74 100644 (file)
@@ -1084,8 +1084,7 @@ eng_image_native_set(void *data, void *image, void *native)
              if ((n = calloc(1, sizeof(Native))))
                {
                   EGLint attribs[3];
-                  int yinvert = 1;
-                  uint32_t format;
+                  int format, yinvert = 1;
 
                   glsym_eglQueryWaylandBufferWL(ob->egl_disp, wl_buf, EGL_TEXTURE_FORMAT, &format);
                   if ((format != EGL_TEXTURE_RGB) && (format != EGL_TEXTURE_RGBA))