diff options
| author | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2009-09-28 15:56:25 +0000 |
|---|---|---|
| committer | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2009-09-28 15:56:25 +0000 |
| commit | b331802f976c85954efbeb7a49f2591951460be2 (patch) | |
| tree | 128d554eaa81099f692df6e5f25aac99c2a11cba | |
| parent | 02ca57ce4c728c4a18d31a6a3f2681bcd1aea2da (diff) | |
| download | cpython-git-b331802f976c85954efbeb7a49f2591951460be2.tar.gz | |
http://bugs.python.org/issue6836
A missing 'const' wasn't detected by Visual Studio.
| -rw-r--r-- | Objects/obmalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c index b2c053f2f4..9cf90c418e 100644 --- a/Objects/obmalloc.c +++ b/Objects/obmalloc.c @@ -1369,7 +1369,7 @@ _PyObject_DebugFree(void *p) _PyObject_DebugFreeApi(_PYMALLOC_OBJ_ID, p); } void -_PyObject_DebugCheckAddress(void *p) +_PyObject_DebugCheckAddress(const void *p) { _PyObject_DebugCheckAddressApi(_PYMALLOC_OBJ_ID, p); } |
