aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/PostgresKit/Source/FLXPostgresConnectionParameters.m
diff options
context:
space:
mode:
Diffstat (limited to 'Frameworks/PostgresKit/Source/FLXPostgresConnectionParameters.m')
-rw-r--r--Frameworks/PostgresKit/Source/FLXPostgresConnectionParameters.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Frameworks/PostgresKit/Source/FLXPostgresConnectionParameters.m b/Frameworks/PostgresKit/Source/FLXPostgresConnectionParameters.m
index ce730513..b5c3d9db 100644
--- a/Frameworks/PostgresKit/Source/FLXPostgresConnectionParameters.m
+++ b/Frameworks/PostgresKit/Source/FLXPostgresConnectionParameters.m
@@ -156,7 +156,7 @@
NSString *stringValue = [NSString stringWithUTF8String:value];
- id paramObject = [self _isBooleanParameterValue:stringValue] ? [NSNumber numberWithBool:[self _booleanForParameterValue:stringValue]] : stringValue;
+ id paramObject = [self _isBooleanParameterValue:stringValue] ? (id)[NSNumber numberWithBool:[self _booleanForParameterValue:stringValue]] : stringValue;
[_parameters setObject:paramObject forKey:parameter];
}