Fix crash on alphas due to mismatch between 'l' format and int variables.

This commit is contained in:
Neal Norwitz 2002-12-19 00:42:03 +00:00
parent 91787cb4b3
commit c296c63c73
1 changed files with 1 additions and 1 deletions

View File

@ -3880,7 +3880,7 @@ timetz_new(PyTypeObject *type, PyObject *args, PyObject *kw)
"hour", "minute", "second", "microsecond", "tzinfo", NULL
};
if (PyArg_ParseTupleAndKeywords(args, kw, "|llllO", keywords,
if (PyArg_ParseTupleAndKeywords(args, kw, "|iiiiO", keywords,
&hour, &minute, &second, &usecond,
&tzinfo)) {
if (check_time_args(hour, minute, second, usecond) < 0)