aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/PostgresKit/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Frameworks/PostgresKit/Source')
-rw-r--r--Frameworks/PostgresKit/Source/PGPostgresTimeInterval.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Frameworks/PostgresKit/Source/PGPostgresTimeInterval.m b/Frameworks/PostgresKit/Source/PGPostgresTimeInterval.m
index 5c40ea52..88694ad7 100644
--- a/Frameworks/PostgresKit/Source/PGPostgresTimeInterval.m
+++ b/Frameworks/PostgresKit/Source/PGPostgresTimeInterval.m
@@ -69,8 +69,8 @@
- (NSString *)description
{
- return [NSString stringWithFormat:@"%d years, %d months, %d days, %d hours, %d minutes, %d seconds and %d microseconds",
- _years, _months, _days, _hours, _minutes, _seconds, _microseconds];
+ return [NSString stringWithFormat:@"%lu years, %lu months, %lu days, %lu hours, %lu minutes, %lu seconds and %lu microseconds",
+ (unsigned long)_years, (unsigned long)_months, (unsigned long)_days, (unsigned long)_hours, (unsigned long)_minutes, (unsigned long)_seconds, (unsigned long)_microseconds];
}
@end