diff options
Diffstat (limited to 'psycopg/pqpath.c')
-rw-r--r-- | psycopg/pqpath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psycopg/pqpath.c b/psycopg/pqpath.c index 3cd62e8..58cd8c5 100644 --- a/psycopg/pqpath.c +++ b/psycopg/pqpath.c @@ -1241,7 +1241,7 @@ _read_rowcount(cursorObject *curs) if (!rowcount || !rowcount[0]) { curs->rowcount = -1; } else { - curs->rowcount = atoi(rowcount); + curs->rowcount = atol(rowcount); } } |