[Python-checkins] r75107 - python/branches/py3k/Objects/obmalloc.c
kristjan.jonsson
python-checkins at python.org
Mon Sep 28 17:57:53 CEST 2009
Author: kristjan.jonsson
Date: Mon Sep 28 17:57:53 2009
New Revision: 75107
Log:
merging revision 75106 from trunk:
http://bugs.python.org/issue6836
A missing 'const' wasn't detected by Visual Studio.
Modified:
python/branches/py3k/Objects/obmalloc.c
Modified: python/branches/py3k/Objects/obmalloc.c
==============================================================================
--- python/branches/py3k/Objects/obmalloc.c (original)
+++ python/branches/py3k/Objects/obmalloc.c Mon Sep 28 17:57:53 2009
@@ -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);
}
More information about the Python-checkins
mailing list