summaryrefslogtreecommitdiffstats
path: root/Objects/obmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/obmalloc.c')
-rw-r--r--Objects/obmalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c
index c065541..0b8816c 100644
--- a/Objects/obmalloc.c
+++ b/Objects/obmalloc.c
@@ -1167,7 +1167,7 @@ new_arena(void)
static int debug_stats = -1;
if (debug_stats == -1) {
- char *opt = Py_GETENV("PYTHONMALLOCSTATS");
+ const char *opt = Py_GETENV("PYTHONMALLOCSTATS");
debug_stats = (opt != NULL && *opt != '\0');
}
if (debug_stats)