Skip to content

Commit 40a6380

Browse files
committed
Use double
1 parent 780bfd4 commit 40a6380

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src_c/imageext.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ imageext_load_animation(PyObject *self, PyObject *arg, PyObject *kwargs)
265265
surfs->frames[i] = NULL;
266266

267267
PyObject *listentry =
268-
Py_BuildValue("(Of)", frame, (float)surfs->delays[i]);
268+
Py_BuildValue("(Od)", frame, (double)surfs->delays[i]);
269269
Py_DECREF(frame);
270270
if (!listentry) {
271271
goto error;

0 commit comments

Comments
 (0)