@@ -2800,7 +2800,7 @@ test_PyDateTime_GET(PyObject *self, PyObject *obj)
2800
2800
month = PyDateTime_GET_MONTH (obj );
2801
2801
day = PyDateTime_GET_DAY (obj );
2802
2802
2803
- return Py_BuildValue ("(lll )" , year , month , day );
2803
+ return Py_BuildValue ("(iii )" , year , month , day );
2804
2804
}
2805
2805
2806
2806
static PyObject *
@@ -2814,7 +2814,7 @@ test_PyDateTime_DATE_GET(PyObject *self, PyObject *obj)
2814
2814
microsecond = PyDateTime_DATE_GET_MICROSECOND (obj );
2815
2815
PyObject * tzinfo = PyDateTime_DATE_GET_TZINFO (obj );
2816
2816
2817
- return Py_BuildValue ("(llllO )" , hour , minute , second , microsecond , tzinfo );
2817
+ return Py_BuildValue ("(iiiiO )" , hour , minute , second , microsecond , tzinfo );
2818
2818
}
2819
2819
2820
2820
static PyObject *
@@ -2828,7 +2828,7 @@ test_PyDateTime_TIME_GET(PyObject *self, PyObject *obj)
2828
2828
microsecond = PyDateTime_TIME_GET_MICROSECOND (obj );
2829
2829
PyObject * tzinfo = PyDateTime_TIME_GET_TZINFO (obj );
2830
2830
2831
- return Py_BuildValue ("(llllO )" , hour , minute , second , microsecond , tzinfo );
2831
+ return Py_BuildValue ("(iiiiO )" , hour , minute , second , microsecond , tzinfo );
2832
2832
}
2833
2833
2834
2834
static PyObject *
@@ -2840,7 +2840,7 @@ test_PyDateTime_DELTA_GET(PyObject *self, PyObject *obj)
2840
2840
seconds = PyDateTime_DELTA_GET_SECONDS (obj );
2841
2841
microseconds = PyDateTime_DELTA_GET_MICROSECONDS (obj );
2842
2842
2843
- return Py_BuildValue ("(lll )" , days , seconds , microseconds );
2843
+ return Py_BuildValue ("(iii )" , days , seconds , microseconds );
2844
2844
}
2845
2845
2846
2846
/* test_thread_state spawns a thread of its own, and that thread releases
0 commit comments