From dd2a803f851a09e983fb79fa65053ce9bf9e899e Mon Sep 17 00:00:00 2001 From: Stuart Connolly Date: Sun, 26 Jan 2014 13:34:29 +0000 Subject: Fix warnings. --- Frameworks/PostgresKit/Source/PGPostgresTimeInterval.m | 4 ++-- 1 file 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 -- cgit v1.2.3