Commit c296c63c authored by Neal Norwitz's avatar Neal Norwitz

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

parent 91787cb4
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment