Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Cast
  • Loading branch information
erlend-aasland committed Feb 14, 2023
commit 7ca285f18e9c5bd734e8fe8007fe8197245369fe
3 changes: 2 additions & 1 deletion Modules/_testcapimodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -1464,7 +1464,8 @@ test_pep3118_obsolete_write_locks(PyObject* self, PyObject *Py_UNUSED(ignored))
goto error;

/* bytesiobuf_getbuffer() */
PyTypeObject *type = _PyImport_GetModuleAttrString("_io", "_BytesIOBuffer");
PyTypeObject *type = (PyTypeObject *)_PyImport_GetModuleAttrString(
"_io", "_BytesIOBuffer");
if (type == NULL) {
return NULL;
}
Expand Down