1
0
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:
Carlos R. Mafra
2009-09-14 15:57:52 +02:00
parent f6645ac564
commit 513a509096
12 changed files with 26 additions and 25 deletions

View File

@@ -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);