@@ -2959,7 +2959,7 @@ test_PyDateTime_GET(PyObject *self, PyObject *obj)
2959
2959
month = PyDateTime_GET_MONTH (obj );
2960
2960
day = PyDateTime_GET_DAY (obj );
2961
2961
2962
- return Py_BuildValue ("(lll )" , year , month , day );
2962
+ return Py_BuildValue ("(iii )" , year , month , day );
2963
2963
}
2964
2964
2965
2965
static PyObject *
@@ -2973,7 +2973,7 @@ test_PyDateTime_DATE_GET(PyObject *self, PyObject *obj)
2973
2973
microsecond = PyDateTime_DATE_GET_MICROSECOND (obj );
2974
2974
PyObject * tzinfo = PyDateTime_DATE_GET_TZINFO (obj );
2975
2975
2976
- return Py_BuildValue ("(llllO )" , hour , minute , second , microsecond , tzinfo );
2976
+ return Py_BuildValue ("(iiiiO )" , hour , minute , second , microsecond , tzinfo );
2977
2977
}
2978
2978
2979
2979
static PyObject *
@@ -2987,7 +2987,7 @@ test_PyDateTime_TIME_GET(PyObject *self, PyObject *obj)
2987
2987
microsecond = PyDateTime_TIME_GET_MICROSECOND (obj );
2988
2988
PyObject * tzinfo = PyDateTime_TIME_GET_TZINFO (obj );
2989
2989
2990
- return Py_BuildValue ("(llllO )" , hour , minute , second , microsecond , tzinfo );
2990
+ return Py_BuildValue ("(iiiiO )" , hour , minute , second , microsecond , tzinfo );
2991
2991
}
2992
2992
2993
2993
static PyObject *
@@ -2999,7 +2999,7 @@ test_PyDateTime_DELTA_GET(PyObject *self, PyObject *obj)
2999
2999
seconds = PyDateTime_DELTA_GET_SECONDS (obj );
3000
3000
microseconds = PyDateTime_DELTA_GET_MICROSECONDS (obj );
3001
3001
3002
- return Py_BuildValue ("(lll )" , days , seconds , microseconds );
3002
+ return Py_BuildValue ("(iii )" , days , seconds , microseconds );
3003
3003
}
3004
3004
3005
3005
/* test_thread_state spawns a thread of its own, and that thread releases
0 commit comments