mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-17 06:35:47 +01:00
Fix the use of uinptr_t
Remove the additional cast to (int), as that makes no sense.
This commit is contained in:
@@ -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