@@ -2438,7 +2438,7 @@ test_PyDateTime_GET(PyObject *self, PyObject *obj)
2438
2438
month = PyDateTime_GET_MONTH (obj );
2439
2439
day = PyDateTime_GET_DAY (obj );
2440
2440
2441
- return Py_BuildValue ("(lll )" , year , month , day );
2441
+ return Py_BuildValue ("(iii )" , year , month , day );
2442
2442
}
2443
2443
2444
2444
static PyObject *
@@ -2452,7 +2452,7 @@ test_PyDateTime_DATE_GET(PyObject *self, PyObject *obj)
2452
2452
microsecond = PyDateTime_DATE_GET_MICROSECOND (obj );
2453
2453
PyObject * tzinfo = PyDateTime_DATE_GET_TZINFO (obj );
2454
2454
2455
- return Py_BuildValue ("(llllO )" , hour , minute , second , microsecond , tzinfo );
2455
+ return Py_BuildValue ("(iiiiO )" , hour , minute , second , microsecond , tzinfo );
2456
2456
}
2457
2457
2458
2458
static PyObject *
@@ -2466,7 +2466,7 @@ test_PyDateTime_TIME_GET(PyObject *self, PyObject *obj)
2466
2466
microsecond = PyDateTime_TIME_GET_MICROSECOND (obj );
2467
2467
PyObject * tzinfo = PyDateTime_TIME_GET_TZINFO (obj );
2468
2468
2469
- return Py_BuildValue ("(llllO )" , hour , minute , second , microsecond , tzinfo );
2469
+ return Py_BuildValue ("(iiiiO )" , hour , minute , second , microsecond , tzinfo );
2470
2470
}
2471
2471
2472
2472
static PyObject *
@@ -2478,7 +2478,7 @@ test_PyDateTime_DELTA_GET(PyObject *self, PyObject *obj)
2478
2478
seconds = PyDateTime_DELTA_GET_SECONDS (obj );
2479
2479
microseconds = PyDateTime_DELTA_GET_MICROSECONDS (obj );
2480
2480
2481
- return Py_BuildValue ("(lll )" , days , seconds , microseconds );
2481
+ return Py_BuildValue ("(iii )" , days , seconds , microseconds );
2482
2482
}
2483
2483
2484
2484
/* test_thread_state spawns a thread of its own, and that thread releases
0 commit comments