eglglessink: fixes 'makes integer from pointer without a cast' warning
This commit is contained in:
parent
1190a79b19
commit
87f2bae822
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user