Skip to content
Browse files

Warnings removed.

  • Loading branch information...
1 parent 83d9898 commit 5247a6538ce51f06aceff63a10382e1be1a9c55b @Mento Mento committed
Showing with 2 additions and 2 deletions.
  1. +1 −1 UnitTest/Test1.h
  2. +1 −1 UnitTest/Test1.m
View
2 UnitTest/Test1.h
@@ -6,5 +6,5 @@
GPGController *gpgc;
NSString *tempDir;
}
-
+- (void)logDataContent:(NSData *)data message:(NSString *)message;
@end
View
2 UnitTest/Test1.m
@@ -40,7 +40,7 @@ - (void)testCase1 {
NSArray *array = [NSArray arrayWithObjects:[NSNumber numberWithInt:1],
[NSNumber numberWithInt:2], [NSNumber numberWithInt:3],
[NSNumber numberWithInt:4], [NSNumber numberWithInt:5], nil];
- NSLog(@"Found at position: %lu", [array indexOfObject:[NSNumber numberWithInt:5]]);
+ NSLog(@"Found at position: %lu", (unsigned long)[array indexOfObject:[NSNumber numberWithInt:5]]);
NSSet *keys = [gpgc allKeys];
STAssertTrue(keys != nil && [keys count] == 0, @"Can’t list keys.");

0 comments on commit 5247a65

Please sign in to comment.
Something went wrong with that request. Please try again.