aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPLogger.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPLogger.m')
-rw-r--r--Source/SPLogger.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPLogger.m b/Source/SPLogger.m
index 8c65f245..9d8f7a92 100644
--- a/Source/SPLogger.m
+++ b/Source/SPLogger.m
@@ -104,7 +104,7 @@ static SPLogger *logger = nil;
[logFileHandle seekToEndOfFile];
NSString *bundleName = [[NSFileManager defaultManager] displayNameAtPath:[[NSBundle mainBundle] bundlePath]];
NSMutableString *logStart = [NSMutableString stringWithString:@"\n\n\n==========================================================================\n\n"];
- [logStart appendString:[NSString stringWithFormat:@"%@ (r%i)\n", bundleName, [[[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"] intValue]]];
+ [logStart appendString:[NSString stringWithFormat:@"%@ (r%ld)\n", bundleName, (long)[[[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"] integerValue]]];
[logFileHandle writeData:[logStart dataUsingEncoding:NSUTF8StringEncoding]];
}
}