From: Mikael Magnusson Date: Mon, 10 Nov 2008 22:34:50 +0000 (+0100) Subject: Fix a problem pointed out by clang X-Git-Tag: backport~134 X-Git-Url: http://git.openbox.org/?p=dana%2Fopenbox.git;a=commitdiff_plain;h=98b1c84bb5caca8a5590e40ad4a4f63a9eb2b869 Fix a problem pointed out by clang 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)) ^~~~~~~~~~~~~~ --- diff --git a/openbox/client.c b/openbox/client.c index 39a0346..03bbfe4 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -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);