diff options
author | Jean Guyomarc'h <jean.guyomarch@openwide.fr> | 2015-10-14 13:39:39 +0200 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2015-12-01 12:15:32 -0800 |
commit | 32d6cb6efdceef8b6ac0988d4babfe704bac061d (patch) | |
tree | d8b93d2156433c9147daec3d9e64e38edf785319 /src/lib/ecore_cocoa | |
parent | 2de19485ac80e1f7f5d4bf904149174a915c581d (diff) |
ecore_cocoa: NSEvent modifiers are of type NSUInteger
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/ecore_cocoa')
-rw-r--r-- | src/lib/ecore_cocoa/ecore_cocoa.m | 4 |
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) | |||
219 | } | 219 | } |
220 | case NSFlagsChanged: | 220 | case NSFlagsChanged: |
221 | { | 221 | { |
222 | int flags = [event modifierFlags]; | 222 | NSUInteger flags = [event modifierFlags]; |
223 | 223 | ||
224 | Ecore_Event_Key *evDown = NULL; | 224 | Ecore_Event_Key *evDown = NULL; |
225 | Ecore_Event_Key *evUp = NULL; | 225 | Ecore_Event_Key *evUp = NULL; |
@@ -257,7 +257,7 @@ ecore_cocoa_feed_events(void *anEvent) | |||
257 | return pass; | 257 | return pass; |
258 | } | 258 | } |
259 | 259 | ||
260 | int changed_flags = flags ^ old_flags; | 260 | NSUInteger changed_flags = flags ^ old_flags; |
261 | 261 | ||
262 | // Turn special key flags off | 262 | // Turn special key flags off |
263 | if (changed_flags & NSShiftKeyMask) | 263 | if (changed_flags & NSShiftKeyMask) |