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 0fc8101..030447b 100644 --- a/psycopg/adapter_binary.c +++ b/psycopg/adapter_binary.c @@ -134,7 +134,7 @@ binary_quote(binaryObject *self) { char *to; const char *buffer; - int buffer_len; + Py_ssize_t buffer_len; size_t len = 0; /* if we got a plain string or a buffer we escape it and save the buffer */ |
