]> Dogcows Code - chaz/openbox/commitdiff
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 39a034683876823f7d76a98346f008d0db106a36..03bbfe48e0d3934c4c61b164e7ad1da212b05c58 100644 (file)
@@ -247,7 +247,7 @@ void client_manage(Window window, ObPrompt *prompt)
     gboolean transient = FALSE;
     Rect place, *monitor;
     Time launch_time, map_time;
-    gint user_time;
+    guint32 user_time;
 
     grab_server(TRUE);
 
This page took 0.025055 seconds and 4 git commands to generate.