GNOME Bugzilla – Bug 760972
glwindow: Fix android build
Last modified: 2016-01-22 08:01:05 UTC
Created attachment 319540 [details] [review] glwindow: Fix android build gstglwindow_android_egl.c: In function 'draw_cb': gstglwindow_android_egl.c:112:9: error: pointer targets in passing argument 2 of 'gst_gl_window_get_surface_dimensions' differ in signedness [-Werror=pointer-sign] &window_height); ^ In file included from ../../../../gst-libs/gst/gl/gl.h:38:0, from ../../../../gst-libs/gst/gl/egl/gstglcontext_egl.h:25, from gstglwindow_android_egl.c:33: ../../../../gst-libs/gst/gl/gstglwindow.h:205:10: note: expected 'guint *' but argument is of type 'gint *' void gst_gl_window_get_surface_dimensions (GstGLWindow * window, ^ gstglwindow_android_egl.c:112:9: error: pointer targets in passing argument 3 of 'gst_gl_window_get_surface_dimensions' differ in signedness [-Werror=pointer-sign] &window_height); ^ In file included from ../../../../gst-libs/gst/gl/gl.h:38:0, from ../../../../gst-libs/gst/gl/egl/gstglcontext_egl.h:25, from gstglwindow_android_egl.c:33: ../../../../gst-libs/gst/gl/gstglwindow.h:205:10: note: expected 'guint *' but argument is of type 'gint *' void gst_gl_window_get_surface_dimensions (GstGLWindow * window, ^ cc1: all warnings being treated as errors Makefile:886: recipe for target 'libgstgl_android_la-gstglwindow_android_egl.lo' failed make[1]: *** [libgstgl_android_la-gstglwindow_android_egl.lo] Error 1 make[1]: Leaving directory '/mnt/ltmp/cerbero/sources/android_armv7/gst-plugins-bad-1.0-static-1.7/gst-libs/gst/gl/android' Makefile:1395: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1
Attachment 319540 [details] pushed as a2376d0 - glwindow: Fix android build