summaryrefslogtreecommitdiff
path: root/psycopg/adapter_datetime.c
diff options
context:
space:
mode:
Diffstat (limited to 'psycopg/adapter_datetime.c')
-rw-r--r--psycopg/adapter_datetime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/psycopg/adapter_datetime.c b/psycopg/adapter_datetime.c
index 0ceb703..fe7acc8 100644
--- a/psycopg/adapter_datetime.c
+++ b/psycopg/adapter_datetime.c
@@ -387,7 +387,7 @@ psyco_Timestamp(PyObject *self, PyObject *args)
int hour=0, minute=0; /* default to midnight */
double second=0.0;
- if (!PyArg_ParseTuple(args, "lii|iidO", &year, &month, &day,
+ if (!PyArg_ParseTuple(args, "iii|iidO", &year, &month, &day,
&hour, &minute, &second, &tzinfo))
return NULL;