diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-12-12 11:55:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-12 11:55:04 (GMT) |
commit | 4ae06c5337e01bdde28bce57b6b9166ad50947e3 (patch) | |
tree | 5e9e92f616bc452eb4096b56ea373fa8b46d2510 /Objects/obmalloc.c | |
parent | 5ce0a2a100909104836f53a2c8823006ec46f8ad (diff) | |
download | cpython-4ae06c5337e01bdde28bce57b6b9166ad50947e3.zip cpython-4ae06c5337e01bdde28bce57b6b9166ad50947e3.tar.gz cpython-4ae06c5337e01bdde28bce57b6b9166ad50947e3.tar.bz2 |
bpo-32241: Add the const qualifire to declarations of umodifiable strings. (#4748)
Diffstat (limited to 'Objects/obmalloc.c')
-rw-r--r-- | Objects/obmalloc.c | 2 |
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) |