summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean.guyomarch@openwide.fr>2015-10-14 13:39:39 +0200
committerNicolas Aguirre <aguirre.nicolas@gmail.com>2015-11-10 08:32:49 +0100
commit5e1456f61f0327d43302664c78f0ec2e6718f765 (patch)
treed10e3ab11c7f2c9ff08a1534f351919e117e44f2
parentf362d307772e03392cce50c89dc94180be26a518 (diff)
ecore_cocoa: NSEvent modifiers are of type NSUInteger
-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)
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)