Updating branch refs/heads/master
to 78a2e3ba92aeb66432226889dccff9b6c60a2003 (commit)
from 5952a20629508217ac83269b761a172fc1958819 (commit)
commit 78a2e3ba92aeb66432226889dccff9b6c60a2003
Author: Olivier Fourdan <[email protected]>
Date: Wed Sep 16 09:29:04 2009 +0200
Cast signed/unsigned
src/events.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/events.c b/src/events.c
index a7cf162..67b1529 100644
--- a/src/events.c
+++ b/src/events.c
@@ -2049,9 +2049,9 @@ handleClientMessage (DisplayInfo *display_info,
XClientMessageEvent * ev)
else if ((ev->message_type == display_info->atoms[WIN_WORKSPACE]) &&
(ev->format == 32))
{
TRACE ("client \"%s\" (0x%lx) has received a WIN_WORKSPACE event",
c->name, c->window);
- if (ev->data.l[0] != c->win_workspace)
+ if (ev->data.l[0] != (guint) c->win_workspace)
{
- clientSetWorkspace (c, ev->data.l[0], TRUE);
+ clientSetWorkspace (c, (guint) ev->data.l[0], TRUE);
}
}
else if ((ev->message_type == display_info->atoms[NET_WM_DESKTOP]) &&
(ev->format == 32))
@@ -2072,9 +2072,9 @@ handleClientMessage (DisplayInfo *display_info,
XClientMessageEvent * ev)
clientUnstick (c, TRUE);
frameQueueDraw (c, FALSE);
}
- if (ev->data.l[0] != c->win_workspace)
+ if (ev->data.l[0] != (guint) c->win_workspace)
{
- clientSetWorkspace (c, ev->data.l[0], TRUE);
+ clientSetWorkspace (c, (guint) ev->data.l[0], TRUE);
}
}
}
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits