diff options
Diffstat (limited to 'psycopg/adapter_binary.c')
-rw-r--r-- | psycopg/adapter_binary.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psycopg/adapter_binary.c b/psycopg/adapter_binary.c index a114f3f..7aa775d 100644 --- a/psycopg/adapter_binary.c +++ b/psycopg/adapter_binary.c @@ -39,7 +39,7 @@ #define binary_escape PQescapeBytea #else static unsigned char * -binary_escape(char *from, size_t from_length, size_t *to_length) +binary_escape(char *from, int from_length, int *to_length) { unsigneed char *quoted, *chptr, *newptr; int i, space, new_space; |