An Objective-C wrapper for Mac OS X’s FSEvents C API.
Revision | a1e545368b475623b1c89293adbaf21ace4c8afb (tree) |
---|---|
Time | 2013-12-10 21:25:08 |
Author | rience <public@kada...> |
Commiter | rience |
Explicit Casting to “(uint)” When Converting From NSUInteger to CDEventFlags (Due to Warnings in XCode 5)
@@ -83,7 +83,7 @@ | ||
83 | 83 | self = [self initWithIdentifier:[[aDecoder decodeObjectForKey:@"identifier"] unsignedIntegerValue] |
84 | 84 | date:[aDecoder decodeObjectForKey:@"date"] |
85 | 85 | URL:[aDecoder decodeObjectForKey:@"URL"] |
86 | - flags:[[aDecoder decodeObjectForKey:@"flags"] unsignedIntegerValue]]; | |
86 | + flags:(uint) [[aDecoder decodeObjectForKey:@"flags"] unsignedIntegerValue]]; | |
87 | 87 | |
88 | 88 | return self; |
89 | 89 | } |
@@ -249,7 +249,7 @@ streamCreationFlags:(CDEventsEventStreamCreationFlags)streamCreationFlags | ||
249 | 249 | notificationLantency:[self notificationLatency] |
250 | 250 | ignoreEventsFromSubDirs:[self ignoreEventsFromSubDirectories] |
251 | 251 | excludeURLs:[self excludedURLs] |
252 | - streamCreationFlags:_eventStreamCreationFlags]; | |
252 | + streamCreationFlags:(uint) _eventStreamCreationFlags]; | |
253 | 253 | |
254 | 254 | return copy; |
255 | 255 | } |
@@ -313,7 +313,7 @@ streamCreationFlags:(CDEventsEventStreamCreationFlags)streamCreationFlags | ||
313 | 313 | (__bridge CFArrayRef)watchedPaths, |
314 | 314 | (FSEventStreamEventId)[self sinceEventIdentifier], |
315 | 315 | [self notificationLatency], |
316 | - _eventStreamCreationFlags); | |
316 | + (uint) _eventStreamCreationFlags); | |
317 | 317 | } |
318 | 318 | |
319 | 319 | - (void)disposeEventStream |