• 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évisionb3fdee2270713376d1734528e6f55e81fabea80d (tree)
l'heure2014-02-21 07:59:33
AuteurAron Cedercrantz <aron@cede...>
CommiterAron Cedercrantz

Message de Log

Merge pull request #24 from rience/develop

Fix 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:[[aDecoder decodeObjectForKey:@"flags"] unsignedIntValue]];
8787
8888 return self;
8989 }
--- a/CDEvents.m
+++ b/CDEvents.m
@@ -60,10 +60,10 @@ const CDEventIdentifier kCDEventsSinceEventNow = kFSEventStreamEventIdSinceNow;
6060 // Private API
6161 @interface CDEvents () {
6262 @private
63- CDEventsEventBlock _eventBlock;
63+ CDEventsEventBlock _eventBlock;
6464
65- FSEventStreamRef _eventStream;
66- NSUInteger _eventStreamCreationFlags;
65+ FSEventStreamRef _eventStream;
66+ CDEventsEventStreamCreationFlags _eventStreamCreationFlags;
6767 }
6868
6969 // Redefine the properties that should be writeable.
@@ -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