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 committed 2009-09-14 16:51:26 +02:00
1 parent f6645ac564
commit 513a509096
12 files changed
+26 -25

No files matched your search

+1 -1
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);