Explorar o código

Compiler warning cleanup

Mike Lewis %!s(int64=13) %!d(string=hai) anos
pai
achega
1d66ebdf36
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      SRWebSocketTests/SRTAutobahnTests.m
  2. 1 1
      SocketRocket/SRWebSocket.m

+ 1 - 1
SRWebSocketTests/SRTAutobahnTests.m

@@ -139,7 +139,7 @@
         return;
     }
     [aRun start];
-    for (int i = 1; i <= aRun.test.testCaseCount; i++) {
+    for (NSUInteger i = 1; i <= aRun.test.testCaseCount; i++) {
         SEL sel = @selector(performTestWithNumber:);
         NSInvocation *invocation = [NSInvocation invocationWithMethodSignature:[[self class] instanceMethodSignatureForSelector:sel]];
         

+ 1 - 1
SocketRocket/SRWebSocket.m

@@ -1721,4 +1721,4 @@ static NSRunLoop *networkRunLoop = nil;
     return _runLoop;
 }
 
-@end
+@end