mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
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.
This commit is contained in:
parent
474c388740
commit
65b339c5ca
1 changed files with 1 additions and 1 deletions
|
|
@ -1094,7 +1094,7 @@ mmap__repr__method(PyObject *op)
|
|||
|
||||
#ifdef MS_WINDOWS
|
||||
static PyObject *
|
||||
mmap__sizeof__method(PyObject *op, void *Py_UNUSED(ignored))
|
||||
mmap__sizeof__method(PyObject *op, PyObject *Py_UNUSED(dummy))
|
||||
{
|
||||
mmap_object *self = mmap_object_CAST(op);
|
||||
size_t res = _PyObject_SIZE(Py_TYPE(self));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue