aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean.guyomarch@openwide.fr>2015-10-14 13:39:39 +0200
committerChris Michael <cp.michael@samsung.com>2015-12-03 11:31:05 -0500
commitc6e038f7407fa36a083a884fb99b57ca317b7f1f (patch)
tree5dfd367aa03ff5f033cf71d8e5ca7bcdea498e8b
parentecore_evas_cocoa: factorize code (diff)
downloadefl-c6e038f7407fa36a083a884fb99b57ca317b7f1f.tar.gz
ecore_cocoa: NSEvent modifiers are of type NSUInteger
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
-rw-r--r--src/lib/ecore_cocoa/ecore_cocoa.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore_cocoa/ecore_cocoa.m b/src/lib/ecore_cocoa/ecore_cocoa.m
index a06222130b..ed17fd753f 100644
--- a/src/lib/ecore_cocoa/ecore_cocoa.m
+++ b/src/lib/ecore_cocoa/ecore_cocoa.m
@@ -219,7 +219,7 @@ ecore_cocoa_feed_events(void *anEvent)
}
case NSFlagsChanged:
{
- int flags = [event modifierFlags];
+ NSUInteger flags = [event modifierFlags];
Ecore_Event_Key *evDown = NULL;
Ecore_Event_Key *evUp = NULL;
@@ -257,7 +257,7 @@ ecore_cocoa_feed_events(void *anEvent)
return pass;
}
- int changed_flags = flags ^ old_flags;
+ NSUInteger changed_flags = flags ^ old_flags;
// Turn special key flags off
if (changed_flags & NSShiftKeyMask)