From: Kristján Valur Jónsson Date: Mon, 28 Sep 2009 15:57:53 +0000 (+0000) Subject: merging revision 75106 from trunk: X-Git-Tag: v3.2a1~2479 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3436900a5af18a681f8075ad91e87eb35425b8ef;p=python merging revision 75106 from trunk: 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 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); }