Permalink
Browse files

Using unsigned long in Log

The debug message throws a warning about using an unsigned int where an
unsigned long was needed.
  • Loading branch information...
gamma committed Aug 26, 2011
1 parent 90e5fbc commit 67ae5ddd44665d7578b0aea797aefd82918a8d4f
Showing with 1 addition and 1 deletion.
  1. +1 −1 Classes/ASIHTTPRequest.m
View
@@ -4538,7 +4538,7 @@ + (void)recordBandwidthUsage
}
}
#if DEBUG_THROTTLING
- NSLog(@"[THROTTLING] ===Used: %u bytes of bandwidth in last measurement period===",bandwidthUsedInLastSecond);
+ NSLog(@"[THROTTLING] ===Used: %lu bytes of bandwidth in last measurement period===",bandwidthUsedInLastSecond);
#endif
[bandwidthUsageTracker addObject:[NSNumber numberWithUnsignedLong:bandwidthUsedInLastSecond]];
[bandwidthMeasurementDate release];

0 comments on commit 67ae5dd

Please sign in to comment.