summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosep Torra <n770galaxy@gmail.com>2013-04-18 12:54:31 +0200
committerJosep Torra <n770galaxy@gmail.com>2013-04-22 12:31:57 +0200
commit6e9c80e39894dc3639150ff8a5349ccc5cb65626 (patch)
treed466c08150f7bf621e86095ebf8defeea613bb17
parentb846f632ebde80d5e94f172300ae660eda886957 (diff)
downloadgstreamer-plugins-bad-6e9c80e39894dc3639150ff8a5349ccc5cb65626.tar.gz
eglglessink: fixes some warnings building on RPI
-rw-r--r--ext/eglgles/gstegladaptation_egl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/eglgles/gstegladaptation_egl.c b/ext/eglgles/gstegladaptation_egl.c
index 2177b87eb..333451c19 100644
--- a/ext/eglgles/gstegladaptation_egl.c
+++ b/ext/eglgles/gstegladaptation_egl.c
@@ -440,8 +440,8 @@ 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_DEBUG_OBJECT (ctx->element, "Using window handle %p", window);
+ gst_egl_adaptation_set_window (ctx, (guintptr) window);
+ GST_DEBUG_OBJECT (ctx->element, "Using window handle %p", (guintptr) window);
return window != 0;
}
@@ -481,5 +481,5 @@ gst_egl_adaptation_update_used_window (GstEglAdaptationContext * ctx)
guintptr
gst_egl_adaptation_get_window (GstEglAdaptationContext * ctx)
{
- return ctx->eglglesctx->window;
+ return (guintptr) ctx->eglglesctx->window;
}