There was an error while loading. Please reload this page.
1 parent a6902e6 commit 2c134c3Copy full SHA for 2c134c3
1 file changed
Modules/_testcapimodule.c
@@ -3813,7 +3813,7 @@ test_PyTime_AsTimeval(PyObject *self, PyObject *args)
3813
if (_PyTime_AsTimeval(t, &tv, round) < 0)
3814
return NULL;
3815
3816
- seconds = PyLong_FromLong((long long)tv.tv_sec);
+ seconds = PyLong_FromLongLong(tv.tv_sec);
3817
if (seconds == NULL)
3818
3819
return Py_BuildValue("Nl", seconds, tv.tv_usec);
0 commit comments