[Python-checkins] cpython: Issue #25972, #20440: Fix compilation on Windows

zach.ware python-checkins at python.org
Tue Dec 29 01:01:38 EST 2015


https://hg.python.org/cpython/rev/e04cd497aa41
changeset:   99713:e04cd497aa41
user:        Zachary Ware <zachary.ware at gmail.com>
date:        Mon Dec 28 21:51:02 2015 -0800
summary:
  Issue #25972, #20440: Fix compilation on Windows

files:
  Modules/_ctypes/_ctypes.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Modules/_ctypes/_ctypes.c b/Modules/_ctypes/_ctypes.c
--- a/Modules/_ctypes/_ctypes.c
+++ b/Modules/_ctypes/_ctypes.c
@@ -5150,7 +5150,7 @@
         return -1;
 
     Py_INCREF(args);
-    Py_SETREF((PyBaseExceptionObject *)self->args, args);
+    Py_SETREF(((PyBaseExceptionObject *)self)->args, args);
 
     return 0;
 }

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list