[877/906] x11: Use correct format string for guintptr

https://bugzilla.gnome.org/show_bug.cgi?id=723537
This commit is contained in:
Chris Paulson-Ellis 2014-02-04 13:49:35 +01:00 committed by Matthew Waters
parent cd7bfb92d4
commit 1a53bc22c7

View 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 no loop then the parent is directly set in XCreateWindow
*/ */
if (window_x11->loop && g_main_loop_is_running (window_x11->loop)) { 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); g_mutex_lock (&window_x11->disp_send_lock);
XGetWindowAttributes (window_x11->disp_send, window_x11->parent_win, &attr); XGetWindowAttributes (window_x11->disp_send, window_x11->parent_win, &attr);