gh-103617: Fix compiler warning in _iomodule.c (#103618)

This commit is contained in:
Erlend E. Aasland 2023-04-18 20:30:54 -06:00 committed by GitHub
parent 700ec657c8
commit ffdbfe1976
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -616,8 +616,9 @@ iomodule_clear(PyObject *mod) {
}
static void
iomodule_free(PyObject *mod) {
iomodule_clear(mod);
iomodule_free(void *mod)
{
(void)iomodule_clear((PyObject *)mod);
}