libs: window: use G_GSIZE_MODIFIER for window id

gsize type is not equal in all platforms, then the 'l' print modifier
shall not be used always.

This issue was found in Debian builds.
This commit is contained in:
Víctor Manuel Jáquez Leal 2019-01-18 10:33:37 +01:00
parent e6943d668a
commit 92af6b82fa

View file

@ -247,8 +247,8 @@ gst_vaapi_window_new_internal (GType type, GstVaapiDisplay * display,
window = g_object_new (type, "display", display, "native-id", id, NULL);
GST_DEBUG_OBJECT (window, "new window with id = 0x%08lx and size %ux%u", id,
width, height);
GST_DEBUG_OBJECT (window, "new window with id = 0x%08" G_GSIZE_MODIFIER
"x and size %ux%u", id, width, height);
if (!gst_vaapi_window_create (window, width, height))
goto error;