[294/906] Fix format string compiler warnings by using G_GUINT64_FORMAT

This commit is contained in:
Sebastian Dröge 2009-02-03 11:23:06 +01:00 committed by Matthew Waters
parent 8997a6e82b
commit 59c3f33743

View file

@ -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;