Skip to content
Browse files

Placated compiler re logging NS[U]Integer.

  • Loading branch information...
1 parent 470d5d5 commit e40658fb839da6ed437cadd494d15a1bdbdc815a @richardbuckle richardbuckle committed with alexrepty Aug 17, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 MGTwitterEngine.m
View
6 MGTwitterEngine.m
@@ -1001,8 +1001,8 @@ - (void)connection:(MGTwitterHTTPURLConnection *)connection didReceiveResponse:(
if (NO) {
// Display headers for debugging.
NSHTTPURLResponse *respDebug = (NSHTTPURLResponse *)response;
- NSLog(@"MGTwitterEngine: (%d) [%@]:\r%@",
- [resp statusCode],
+ NSLog(@"MGTwitterEngine: (%ld) [%@]:\r%@",
+ (long)[resp statusCode],
[NSHTTPURLResponse localizedStringForStatusCode:[respDebug statusCode]],
[respDebug allHeaderFields]);
}
@@ -1076,7 +1076,7 @@ - (void)connectionDidFinishLoading:(MGTwitterHTTPURLConnection *)connection
if (NO) {
// Dump data as string for debugging.
NSString *dataString = [NSString stringWithUTF8String:[receivedData bytes]];
- NSLog(@"MGTwitterEngine: Succeeded! Received %d bytes of data:\r\r%@", [receivedData length], dataString);
+ NSLog(@"MGTwitterEngine: Succeeded! Received %lu bytes of data:\r\r%@", (unsigned long)[receivedData length], dataString);
}
if (NO) {

0 comments on commit e40658f

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