summaryrefslogtreecommitdiff
path: root/psycopg/adapter_qstring.c
diff options
context:
space:
mode:
authorFederico Di Gregorio <fog@initd.org>2005-03-31 06:26:19 +0000
committerFederico Di Gregorio <fog@initd.org>2005-03-31 06:26:19 +0000
commit5db776420703e392e839d7fcb833274f65b7893f (patch)
tree3efdfcbae18aa1da11289163dc670023db65b925 /psycopg/adapter_qstring.c
parentf4ad71fc1d69544b8c9aa3edb0d30f9c6fd96462 (diff)
downloadpsycopg2-5db776420703e392e839d7fcb833274f65b7893f.tar.gz
Fixed .rowcount (closes: #6).
Diffstat (limited to 'psycopg/adapter_qstring.c')
-rw-r--r--psycopg/adapter_qstring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/psycopg/adapter_qstring.c b/psycopg/adapter_qstring.c
index 67d2708..b033517 100644
--- a/psycopg/adapter_qstring.c
+++ b/psycopg/adapter_qstring.c
@@ -80,7 +80,7 @@ qstring_quote(qstringObject *self)
{
PyObject *str;
char *s, *buffer;
- size_t len;
+ int len;
/* if the wrapped object is an unicode object we can encode it to match
self->encoding but if the encoding is not specified we don't know what