aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPServerSupport.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPServerSupport.m')
-rw-r--r--Source/SPServerSupport.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPServerSupport.m b/Source/SPServerSupport.m
index 95120494..1446b978 100644
--- a/Source/SPServerSupport.m
+++ b/Source/SPServerSupport.m
@@ -229,7 +229,7 @@
- (NSString *)description
{
unsigned int i;
- NSMutableString *description = [NSMutableString stringWithFormat:@"<%@: Server is MySQL version %d.%d.%d. Supports:\n", [self className], serverMajorVersion, serverMinorVersion, serverReleaseVersion];
+ NSMutableString *description = [NSMutableString stringWithFormat:@"<%@: Server is MySQL version %ld.%ld.%ld. Supports:\n", [self className], (long)serverMajorVersion, (long)serverMinorVersion, (long)serverReleaseVersion];
Ivar *vars = class_copyIvarList([self class], &i);