commit | b331802f976c85954efbeb7a49f2591951460be2 | [log] [tgz] |
---|---|---|
author | Kristján Valur Jónsson <kristjan@ccpgames.com> | Mon Sep 28 15:56:25 2009 +0000 |
committer | Kristján Valur Jónsson <kristjan@ccpgames.com> | Mon Sep 28 15:56:25 2009 +0000 |
tree | 128d554eaa81099f692df6e5f25aac99c2a11cba | |
parent | 02ca57ce4c728c4a18d31a6a3f2681bcd1aea2da [diff] |
http://bugs.python.org/issue6836 A missing 'const' wasn't detected by Visual Studio.
diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c index b2c053f..9cf90c4 100644 --- a/Objects/obmalloc.c +++ b/Objects/obmalloc.c
@@ -1369,7 +1369,7 @@ _PyObject_DebugFreeApi(_PYMALLOC_OBJ_ID, p); } void -_PyObject_DebugCheckAddress(void *p) +_PyObject_DebugCheckAddress(const void *p) { _PyObject_DebugCheckAddressApi(_PYMALLOC_OBJ_ID, p); }