diff options
Diffstat (limited to 'Source/SPDataAdditions.m')
-rw-r--r-- | Source/SPDataAdditions.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPDataAdditions.m b/Source/SPDataAdditions.m index 9f973b8e..401ffbc8 100644 --- a/Source/SPDataAdditions.m +++ b/Source/SPDataAdditions.m @@ -224,7 +224,7 @@ NSMutableString *retVal = [NSMutableString string]; // get the length of the longest location - NSUInteger longest = [(NSString *)[NSString stringWithFormat:@"%lX", totalLength - ( totalLength % bytesPerLine )] length]; + NSUInteger longest = [(NSString *)[NSString stringWithFormat:@"%lX", (unsigned long)(totalLength - ( totalLength % bytesPerLine ))] length]; for ( i = 0; i < totalLength; i += bytesPerLine ) { |