Skip to content

Commit 903082c

Browse files
committed
Remove now useless cast
1 parent d31e50e commit 903082c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_threadmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ ThreadHandle_start(ThreadHandle *self, PyObject *func, PyObject *args,
459459
return 0;
460460

461461
start_failed:
462-
_PyOnceFlag_CallOnce(&self->once, (_Py_once_fn_t *)force_done, self);
462+
_PyOnceFlag_CallOnce(&self->once, force_done, self);
463463
return -1;
464464
}
465465

0 commit comments

Comments
 (0)