eglglessink: fixes 'makes integer from pointer without a cast' warning

This commit is contained in:
Josep Torra 2013-04-18 12:54:31 +02:00
parent 1190a79b19
commit 87f2bae822

View 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;
}