mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-23 22:52:34 +01:00
Fix the use of uinptr_t
Remove the additional cast to (int), as that makes no sense.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user