• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

An Objective-C wrapper for Mac OS X’s FSEvents C API.


Commit MetaInfo

Révisiona1e545368b475623b1c89293adbaf21ace4c8afb (tree)
l'heure2013-12-10 21:25:08
Auteurrience <public@kada...>
Commiterrience

Message de Log

Explicit Casting to “(uint)” When Converting From NSUInteger to CDEventFlags (Due to Warnings in XCode 5)

Change Summary

Modification

--- a/CDEvent.m
+++ b/CDEvent.m
@@ -83,7 +83,7 @@
8383 self = [self initWithIdentifier:[[aDecoder decodeObjectForKey:@"identifier"] unsignedIntegerValue]
8484 date:[aDecoder decodeObjectForKey:@"date"]
8585 URL:[aDecoder decodeObjectForKey:@"URL"]
86- flags:[[aDecoder decodeObjectForKey:@"flags"] unsignedIntegerValue]];
86+ flags:(uint) [[aDecoder decodeObjectForKey:@"flags"] unsignedIntegerValue]];
8787
8888 return self;
8989 }
--- a/CDEvents.m
+++ b/CDEvents.m
@@ -249,7 +249,7 @@ streamCreationFlags:(CDEventsEventStreamCreationFlags)streamCreationFlags
249249 notificationLantency:[self notificationLatency]
250250 ignoreEventsFromSubDirs:[self ignoreEventsFromSubDirectories]
251251 excludeURLs:[self excludedURLs]
252- streamCreationFlags:_eventStreamCreationFlags];
252+ streamCreationFlags:(uint) _eventStreamCreationFlags];
253253
254254 return copy;
255255 }
@@ -313,7 +313,7 @@ streamCreationFlags:(CDEventsEventStreamCreationFlags)streamCreationFlags
313313 (__bridge CFArrayRef)watchedPaths,
314314 (FSEventStreamEventId)[self sinceEventIdentifier],
315315 [self notificationLatency],
316- _eventStreamCreationFlags);
316+ (uint) _eventStreamCreationFlags);
317317 }
318318
319319 - (void)disposeEventStream