diff options
Diffstat (limited to 'psycopg/psycopg.h')
| -rw-r--r-- | psycopg/psycopg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psycopg/psycopg.h b/psycopg/psycopg.h index 5706c5a..20e33ff 100644 --- a/psycopg/psycopg.h +++ b/psycopg/psycopg.h @@ -143,7 +143,7 @@ HIDDEN PyObject *psyco_GetDecimalType(void); HIDDEN void psyco_set_error(PyObject *exc, PyObject *curs, const char *msg, const char *pgerror, const char *pgcode); -HIDDEN size_t qstring_escape(char *to, char *from, size_t len, PGconn *conn); +HIDDEN size_t qstring_escape(char *to, const char *from, size_t len, PGconn *conn); /* Exceptions docstrings */ #define Error_doc \ |
