mirror of
https://github.com/gryf/wmaker.git
synced 2026-11-24 08:36:55 +01:00
Fix the use of uinptr_t
Remove the additional cast to (int), as that makes no sense.
This commit is contained in:
1 parent
f6645ac564
commit
513a509096
12 files changed
+26
-25
No files matched your search
+1
-1
@@ -317,7 +317,7 @@ static void endedEditingObserver(void *observerData, WMNotification * notificati
|
||||
{
|
||||
WMInputPanel *panel = (WMInputPanel *) observerData;
|
||||
|
||||
switch ((int)(uintptr_t) WMGetNotificationClientData(notification)) {
|
||||
switch ((uintptr_t)WMGetNotificationClientData(notification)) {
|
||||
case WMReturnTextMovement:
|
||||
if (panel->defBtn)
|
||||
WMPerformButtonClick(panel->defBtn);
|
||||
|
||||
Reference in new issue
Block a user