eglglessink: fixes 'makes integer from pointer without a cast' warning
authorJosep Torra <n770galaxy@gmail.com>
Thu, 18 Apr 2013 10:54:31 +0000 (12:54 +0200)
committerJosep Torra <n770galaxy@gmail.com>
Thu, 18 Apr 2013 10:54:31 +0000 (12:54 +0200)
ext/eglgles/gstegladaptation_egl.c

index 254a644..f804e77 100644 (file)
@@ -869,7 +869,7 @@ gst_egl_adaptation_create_native_window (GstEglAdaptationContext * ctx,
   EGLNativeWindowType window =
       platform_create_native_window (width, height, own_window_data);
   if (window)
-    gst_egl_adaptation_set_window (ctx, window);
+    gst_egl_adaptation_set_window (ctx, (guintptr) window);
   GST_DEBUG_OBJECT (ctx->element, "Using window handle %p", (gpointer) window);
   return window != 0;
 }