mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 05:18:06 +01:00
Fix the use of uinptr_t
Remove the additional cast to (int), as that makes no sense.
This commit is contained in:
@@ -93,7 +93,7 @@ static void closeCascade(WMenu * menu);
|
||||
static void appearanceObserver(void *self, WMNotification * notif)
|
||||
{
|
||||
WMenu *menu = (WMenu *) self;
|
||||
int flags = (int)(uintptr_t) WMGetNotificationClientData(notif);
|
||||
uintptr_t flags = (uintptr_t)WMGetNotificationClientData(notif);
|
||||
|
||||
if (!menu->flags.realized)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user