summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorKristján Valur Jónsson <kristjan@ccpgames.com>2009-09-28 15:57:53 (GMT)
committerKristján Valur Jónsson <kristjan@ccpgames.com>2009-09-28 15:57:53 (GMT)
commit3436900a5af18a681f8075ad91e87eb35425b8ef (patch)
treea4d98f627d8e2947fc36197679d7c59fc8725963 /Objects
parentae4cfb1bb3a6a597d6daec2620d321279c15eab4 (diff)
downloadcpython-3436900a5af18a681f8075ad91e87eb35425b8ef.zip
cpython-3436900a5af18a681f8075ad91e87eb35425b8ef.tar.gz
cpython-3436900a5af18a681f8075ad91e87eb35425b8ef.tar.bz2
merging revision 75106 from trunk:
http://bugs.python.org/issue6836 A missing 'const' wasn't detected by Visual Studio.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/obmalloc.c2
1 files changed, 1 insertions, 1 deletions
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_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);
}