changeset: 99713:e04cd497aa41 user: Zachary Ware date: Mon Dec 28 21:51:02 2015 -0800 files: Modules/_ctypes/_ctypes.c description: Issue #25972, #20440: Fix compilation on Windows diff -r ab0e60a36368 -r e04cd497aa41 Modules/_ctypes/_ctypes.c --- a/Modules/_ctypes/_ctypes.c Mon Dec 28 17:55:27 2015 -0800 +++ b/Modules/_ctypes/_ctypes.c Mon Dec 28 21:51:02 2015 -0800 @@ -5150,7 +5150,7 @@ return -1; Py_INCREF(args); - Py_SETREF((PyBaseExceptionObject *)self->args, args); + Py_SETREF(((PyBaseExceptionObject *)self)->args, args); return 0; }