diff options
Diffstat (limited to 'Frameworks')
-rw-r--r-- | Frameworks/PostgresKit/Source/FLXPostgresError.h | 2 | ||||
-rw-r--r-- | Frameworks/PostgresKit/Source/FLXPostgresError.m | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Frameworks/PostgresKit/Source/FLXPostgresError.h b/Frameworks/PostgresKit/Source/FLXPostgresError.h index 58632f04..f3ee9c60 100644 --- a/Frameworks/PostgresKit/Source/FLXPostgresError.h +++ b/Frameworks/PostgresKit/Source/FLXPostgresError.h @@ -69,6 +69,6 @@ */ @property (readonly) NSUInteger errorStatementPosition; -- (id)initWithResult:(PGresult *)result; +- (id)initWithResult:(const void *)result; @end 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; |