diff options
Diffstat (limited to 'Frameworks/PostgresKit/Source/FLXPostgresError.m')
-rw-r--r-- | Frameworks/PostgresKit/Source/FLXPostgresError.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Frameworks/PostgresKit/Source/FLXPostgresError.m b/Frameworks/PostgresKit/Source/FLXPostgresError.m index 22394900..32f8fa72 100644 --- a/Frameworks/PostgresKit/Source/FLXPostgresError.m +++ b/Frameworks/PostgresKit/Source/FLXPostgresError.m @@ -57,7 +57,7 @@ return nil; } -- (id)initWithResult:(PGresult *)result +- (id)initWithResult:(const void *)result { if ((self = [super init])) { @@ -68,7 +68,7 @@ _errorMessageHint = nil; _errorStatementPosition = -1; - if (result) [self _extractErrorDetailsFromResult:result]; + if (result) [self _extractErrorDetailsFromResult:(PGresult *)result]; } return self; |