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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/mmapmodule.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1094,7 +1094,7 @@ mmap__repr__method(PyObject *op)
10941094

10951095
#ifdef MS_WINDOWS
10961096
static PyObject *
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_t res = _PyObject_SIZE(Py_TYPE(self));

0 commit comments

Comments
 (0)