tests: correctly print guintptr on mac
authorThijs Vermeir <thijsvermeir@gmail.com>
Wed, 6 Jul 2016 14:14:32 +0000 (16:14 +0200)
committerThijs Vermeir <thijsvermeir@gmail.com>
Wed, 6 Jul 2016 14:16:22 +0000 (16:16 +0200)
tests/examples/playback/playback-test.c

index a23800321b2773e189bb4a32a35ed49e5e8d9ff0..18b5b547a27d69eeee1a7201699c691794a8b648 100644 (file)
@@ -2210,7 +2210,8 @@ realize_cb (GtkWidget * widget, PlaybackApp * app)
       app->embed_xid);
 #elif defined (GDK_WINDOWING_QUARTZ)
   app->embed_xid = (guintptr) gdk_quartz_window_get_nsview (window);
-  g_print ("Window realize: video window NSView = %p\n", app->embed_xid);
+  g_print ("Window realize: video window NSView = %" G_GUINTPTR_FORMAT "\n",
+      app->embed_xid);
 #elif defined (GDK_WINDOWING_X11)
   app->embed_xid = GDK_WINDOW_XID (window);
   g_print ("Window realize: video window XID = %" G_GUINTPTR_FORMAT "\n",