Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Resolve LLVM 1.5-specific warnings.

  • Loading branch information...
commit fbb1edac676fe34bcd4308e944e66e47f0180e00 1 parent fe58271
@jverkoey jverkoey authored
View
4 src/Three20UICommon/Sources/UIViewControllerAdditions.m
@@ -346,7 +346,7 @@ + (void)doGarbageCollectionWithSelector:(SEL)selector controllerSet:(NSMutableSe
NSInteger retainCount = [controller retainCount] - 1;
TTDCONDITIONLOG(TTDFLAG_CONTROLLERGARBAGECOLLECTION,
- @"Retain count for %X is %d", controller, retainCount);
+ @"Retain count for %X is %d", (unsigned int)controller, retainCount);
if (retainCount == 1) {
// If this fails, you've somehow added a controller that doesn't use
@@ -370,7 +370,7 @@ + (void)doGarbageCollectionWithSelector:(SEL)selector controllerSet:(NSMutableSe
///////////////////////////////////////////////////////////////////////////////////////////////////
- (void)unsetCommonProperties {
TTDCONDITIONLOG(TTDFLAG_CONTROLLERGARBAGECOLLECTION,
- @"Unsetting this controller's properties: %X", self);
+ @"Unsetting this controller's properties: %X", (unsigned int)self);
self.superController = nil;
self.popupViewController = nil;
View
2  src/Three20UINavigator/Headers/TTURLGeneratorPattern.h
@@ -21,7 +21,7 @@
Class _targetClass;
}
-@property (nonatomic) Class targetClass;
+@property (nonatomic, assign) Class targetClass;
- (id)initWithTargetClass:(Class)targetClass;
View
6 src/Three20UINavigator/Headers/TTURLNavigatorPattern.h
@@ -27,12 +27,12 @@
NSInteger _argumentCount;
}
-@property (nonatomic) Class targetClass;
+@property (nonatomic, assign) Class targetClass;
@property (nonatomic, assign) id targetObject;
@property (nonatomic, readonly) TTNavigationMode navigationMode;
@property (nonatomic, copy) NSString* parentURL;
-@property (nonatomic) NSInteger transition;
-@property (nonatomic) NSInteger argumentCount;
+@property (nonatomic, assign) NSInteger transition;
+@property (nonatomic, assign) NSInteger argumentCount;
@property (nonatomic, readonly) BOOL isUniversal;
@property (nonatomic, readonly) BOOL isFragment;
View
2  src/Three20UINavigator/Sources/UIViewController+TTNavigator.m
@@ -175,7 +175,7 @@ @implementation UIViewController (TTNavigatorGarbageCollection)
///////////////////////////////////////////////////////////////////////////////////////////////////
- (void)unsetNavigatorProperties {
TTDCONDITIONLOG(TTDFLAG_CONTROLLERGARBAGECOLLECTION,
- @"Unsetting this controller's properties: %X", self);
+ @"Unsetting this controller's properties: %X", (unsigned int)self);
NSString* urlPath = self.originalNavigatorURL;
if (nil != urlPath) {
Please sign in to comment.
Something went wrong with that request. Please try again.