Skip to content
This repository
Browse code

Placated compiler re logging NS[U]Integer.

  • Loading branch information...
commit e40658fb839da6ed437cadd494d15a1bdbdc815a 1 parent 470d5d5
Richard Buckle richardbuckle authored alexrepty committed

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +3 3 MGTwitterEngine.m
6 MGTwitterEngine.m
@@ -1001,8 +1001,8 @@ - (void)connection:(MGTwitterHTTPURLConnection *)connection didReceiveResponse:(
1001 1001 if (NO) {
1002 1002 // Display headers for debugging.
1003 1003 NSHTTPURLResponse *respDebug = (NSHTTPURLResponse *)response;
1004   - NSLog(@"MGTwitterEngine: (%d) [%@]:\r%@",
1005   - [resp statusCode],
  1004 + NSLog(@"MGTwitterEngine: (%ld) [%@]:\r%@",
  1005 + (long)[resp statusCode],
1006 1006 [NSHTTPURLResponse localizedStringForStatusCode:[respDebug statusCode]],
1007 1007 [respDebug allHeaderFields]);
1008 1008 }
@@ -1076,7 +1076,7 @@ - (void)connectionDidFinishLoading:(MGTwitterHTTPURLConnection *)connection
1076 1076 if (NO) {
1077 1077 // Dump data as string for debugging.
1078 1078 NSString *dataString = [NSString stringWithUTF8String:[receivedData bytes]];
1079   - NSLog(@"MGTwitterEngine: Succeeded! Received %d bytes of data:\r\r%@", [receivedData length], dataString);
  1079 + NSLog(@"MGTwitterEngine: Succeeded! Received %lu bytes of data:\r\r%@", (unsigned long)[receivedData length], dataString);
1080 1080 }
1081 1081
1082 1082 if (NO) {

0 comments on commit e40658f

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