mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-02-07 21:00:33 +03:00
Dropped warnings when compiling on Python 2.5
This commit is contained in:
parent
c75ddea895
commit
5a75d693a3
|
@ -205,7 +205,7 @@ lobject_write(lobjectObject *self, const char *buf, size_t len)
|
|||
PGresult *pgres = NULL;
|
||||
char *error = NULL;
|
||||
|
||||
Dprintf("lobject_writing: fd = %d, len = %d",
|
||||
Dprintf("lobject_writing: fd = %d, len = " FORMAT_CODE_PY_SSIZE_T,
|
||||
self->fd, len);
|
||||
|
||||
Py_BEGIN_ALLOW_THREADS;
|
||||
|
@ -342,7 +342,7 @@ lobject_truncate(lobjectObject *self, size_t len)
|
|||
PGresult *pgres = NULL;
|
||||
char *error = NULL;
|
||||
|
||||
Dprintf("lobject_truncate: fd = %d, len = %d",
|
||||
Dprintf("lobject_truncate: fd = %d, len = " FORMAT_CODE_PY_SSIZE_T,
|
||||
self->fd, len);
|
||||
|
||||
Py_BEGIN_ALLOW_THREADS;
|
||||
|
|
Loading…
Reference in New Issue
Block a user