Fix the use of uinptr_t

Remove the additional cast to (int), as that makes no sense.
This commit is contained in:
Carlos R. Mafra
2009-09-14 16:51:26 +02:00
parent f6645ac564
commit 513a509096
12 changed files with 26 additions and 25 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ static void miniwindowDblClick(WObjDescriptor * desc, XEvent * event);
static void appearanceObserver(void *self, WMNotification * notif)
{
WIcon *icon = (WIcon *) self;
int flags = (int)(uintptr_t) WMGetNotificationClientData(notif);
uintptr_t flags = (uintptr_t)WMGetNotificationClientData(notif);
if (flags & WTextureSettings) {
icon->force_paint = 1;