[877/906] x11: Use correct format string for guintptr
authorChris Paulson-Ellis <chris@edesix.com>
Tue, 4 Feb 2014 12:49:35 +0000 (13:49 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:33 +0000 (19:31 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=723537

gst-libs/gst/gl/x11/gstglwindow_x11.c

index e2ed2b4..ad100fe 100644 (file)
@@ -418,7 +418,7 @@ gst_gl_window_x11_set_window_handle (GstGLWindow * window, guintptr id)
    * If no loop then the parent is directly set in XCreateWindow
    */
   if (window_x11->loop && g_main_loop_is_running (window_x11->loop)) {
-    GST_LOG ("set parent window id: %lud", id);
+    GST_LOG ("set parent window id: %" G_GUINTPTR_FORMAT, id);
 
     g_mutex_lock (&window_x11->disp_send_lock);
     XGetWindowAttributes (window_x11->disp_send, window_x11->parent_win, &attr);