Skip to content

Commit 65b339c

Browse files
authored
gh-111178: fix clang-cl compilation of Modules/mmapmodule.c post gh-129784 (#130446)
The `PyCFunction` cast on `mmap__sizeof__method` was removed but the method was not updated accordingly.
1 parent 474c388 commit 65b339c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Modules/mmapmodule.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1094,7 +1094,7 @@ mmap__repr__method(PyObject *op)
10941094

10951095
#ifdefMS_WINDOWS
10961096
staticPyObject*
1097-
mmap__sizeof__method(PyObject*op, void*Py_UNUSED(ignored))
1097+
mmap__sizeof__method(PyObject*op, PyObject*Py_UNUSED(dummy))
10981098
{
10991099
mmap_object*self=mmap_object_CAST(op);
11001100
size_tres=_PyObject_SIZE(Py_TYPE(self));

0 commit comments

Comments
 (0)