mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
[294/906] Fix format string compiler warnings by using G_GUINT64_FORMAT
This commit is contained in:
parent
71db1285d8
commit
0068125ec8
1 changed files with 5 additions and 5 deletions
|
@ -301,7 +301,7 @@ gst_gl_window_new (gint width, gint height)
|
|||
priv->black = XBlackPixel (priv->device, priv->screen_num);
|
||||
priv->depth = DefaultDepthOfScreen (priv->screen);
|
||||
|
||||
g_debug ("gl root id: %lld\n", (guint64) priv->root);
|
||||
g_debug ("gl root id: %" G_GUINT64_FORMAT "\n", (guint64) priv->root);
|
||||
|
||||
priv->device_width = DisplayWidth (priv->device, priv->screen_num);
|
||||
priv->device_height = DisplayHeight (priv->device, priv->screen_num);
|
||||
|
@ -358,7 +358,7 @@ gst_gl_window_new (gint width, gint height)
|
|||
|
||||
XSetWindowBackgroundPixmap (priv->device, priv->internal_win_id, None);
|
||||
|
||||
g_debug ("gl window id: %lld\n", (guint64) priv->internal_win_id);
|
||||
g_debug ("gl window id: %" G_GUINT64_FORMAT "\n", (guint64) priv->internal_win_id);
|
||||
|
||||
g_debug ("gl window props: x:%d y:%d w:%d h:%d\n", x, y, width, height);
|
||||
|
||||
|
@ -428,7 +428,7 @@ gst_gl_window_set_external_window_id (GstGLWindow *window, guint64 id)
|
|||
|
||||
priv->parent = (Window) id;
|
||||
|
||||
g_debug ("set parent window id: %lld\n", id);
|
||||
g_debug ("set parent window id: %" G_GUINT64_FORMAT "\n", id);
|
||||
|
||||
XGetWindowAttributes (priv->disp_send, priv->parent, &attr);
|
||||
|
||||
|
@ -640,7 +640,7 @@ gst_gl_window_run_loop (GstGLWindow *window)
|
|||
/* User clicked on the cross */
|
||||
else if (wm_delete != None && (Atom) event.xclient.data.l[0] == wm_delete)
|
||||
{
|
||||
g_debug ("Close %lld\n", (guint64) priv->internal_win_id);
|
||||
g_debug ("Close %" G_GUINT64_FORMAT "\n", (guint64) priv->internal_win_id);
|
||||
|
||||
if (priv->close_cb)
|
||||
priv->close_cb (priv->close_data);
|
||||
|
@ -659,7 +659,7 @@ gst_gl_window_run_loop (GstGLWindow *window)
|
|||
GstGLWindowCB destroy_cb = (GstGLWindowCB) event.xclient.data.l[0];
|
||||
gpointer destroy_data = (gpointer) event.xclient.data.l[1];
|
||||
|
||||
g_debug ("Quit loop message %lld\n", (guint64) priv->internal_win_id);
|
||||
g_debug ("Quit loop message %" G_GUINT64_FORMAT "\n", (guint64) priv->internal_win_id);
|
||||
|
||||
/* exit loop */
|
||||
priv->running = FALSE;
|
||||
|
|
Loading…
Reference in a new issue