Mercurial > cpython-lru_cache-weakref
diff Objects/obmalloc.c @ 56258:d108fe77c06c
merging revision 75106 from trunk:
http://bugs.python.org/issue6836
A missing 'const' wasn't detected by Visual Studio.
| author | Kristján Valur Jónsson <kristjan@ccpgames.com> |
|---|---|
| date | Mon, 28 Sep 2009 15:57:53 +0000 |
| parents | b6aff7a59803 |
| children | b79d0420c204 |
line wrap: on
line diff
--- a/Objects/obmalloc.c Mon Sep 28 13:45:02 2009 +0000 +++ b/Objects/obmalloc.c Mon Sep 28 15:57:53 2009 +0000 @@ -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); }
