Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bffa73e

Browse files
committed
Issue #25972, #20440: Fix compilation on Windows
1 parent eae3079 commit bffa73e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_ctypes/_ctypes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5150,7 +5150,7 @@ comerror_init(PyObject *self, PyObject *args, PyObject *kwds)
51505150
return -1;
51515151

51525152
Py_INCREF(args);
5153-
Py_SETREF((PyBaseExceptionObject *)self->args, args);
5153+
Py_SETREF(((PyBaseExceptionObject *)self)->args, args);
51545154

51555155
return 0;
51565156
}

0 commit comments

Comments
 (0)