mirror of
https://github.com/gryf/wmaker.git
synced 2026-06-19 00:55:24 +02:00
Fix the use of uinptr_t
Remove the additional cast to (int), as that makes no sense.
This commit is contained in:
+1
-1
@@ -417,7 +417,7 @@ static void wsobserver(void *self, WMNotification * notif)
|
||||
void *data = WMGetNotificationClientData(notif);
|
||||
|
||||
if (strcmp(name, WMNWorkspaceNameChanged) == 0) {
|
||||
UpdateSwitchMenuWorkspace(scr, (int)(uintptr_t) data);
|
||||
UpdateSwitchMenuWorkspace(scr, (uintptr_t)data);
|
||||
} else if (strcmp(name, WMNWorkspaceChanged) == 0) {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user