summaryrefslogtreecommitdiff
path: root/src/lib/ecore_cocoa/ecore_cocoa.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_cocoa/ecore_cocoa.m')
-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)