aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStuart Connolly <stuart02@gmail.com>2014-01-26 13:34:29 +0000
committerStuart Connolly <stuart02@gmail.com>2014-01-26 13:34:29 +0000
commitdd2a803f851a09e983fb79fa65053ce9bf9e899e (patch)
tree1df971830740383f24bbdbf553a7282733e134f8
parent065aa16b0a82bf1c1dd4343c760ba6178e0decf6 (diff)
downloadsequelpro-dd2a803f851a09e983fb79fa65053ce9bf9e899e.tar.gz
sequelpro-dd2a803f851a09e983fb79fa65053ce9bf9e899e.tar.bz2
sequelpro-dd2a803f851a09e983fb79fa65053ce9bf9e899e.zip
Fix warnings.
-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