eglglessink: Fix compiler warning
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 16 Apr 2013 20:14:09 +0000 (22:14 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 16 Apr 2013 20:14:09 +0000 (22:14 +0200)
gstegladaptation_egl.c: In function 'gst_egl_adaptation_create_native_window':
gstegladaptation_egl.c:868:3: error: format '%p' expects argument of type 'void *', but argument 8 has type 'EGLNativeWindowType' [-Werror=format=]
   GST_DEBUG_OBJECT (ctx->element, "Using window handle %p", window);
   ^

ext/eglgles/gstegladaptation_egl.c

index 72102ca..eeefc7e 100644 (file)
@@ -865,7 +865,7 @@ gst_egl_adaptation_create_native_window (GstEglAdaptationContext * ctx,
       platform_create_native_window (width, height, own_window_data);
   if (window)
     gst_egl_adaptation_set_window (ctx, window);
-  GST_DEBUG_OBJECT (ctx->element, "Using window handle %p", window);
+  GST_DEBUG_OBJECT (ctx->element, "Using window handle %p", (gpointer) window);
   return window != 0;
 }