Fix a problem pointed out by clang
authorMikael Magnusson <mikachu@gmail.com>
Mon, 10 Nov 2008 22:34:50 +0000 (23:34 +0100)
committerMikael Magnusson <mikachu@gmail.com>
Mon, 10 Nov 2008 22:34:50 +0000 (23:34 +0100)
openbox/client.c:269:10: warning: incompatible pointer types passing 'gint *', expected 'guint32 *'
    if (!OBT_PROP_GET32(self->window, NET_WM_USER_TIME, CARDINAL, &user_time))
         ^~~~~~~~~~~~~~

openbox/client.c

index 39a0346..03bbfe4 100644 (file)
@@ -247,7 +247,7 @@ void client_manage(Window window, ObPrompt *prompt)
     gboolean transient = FALSE;
     Rect place, *monitor;
     Time launch_time, map_time;
     gboolean transient = FALSE;
     Rect place, *monitor;
     Time launch_time, map_time;
-    gint user_time;
+    guint32 user_time;
 
     grab_server(TRUE);
 
 
     grab_server(TRUE);