summaryrefslogtreecommitdiff
path: root/Python/frozenmain.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-12-12 13:55:04 +0200
committerGitHub <noreply@github.com>2017-12-12 13:55:04 +0200
commit4ae06c5337e01bdde28bce57b6b9166ad50947e3 (patch)
tree5e9e92f616bc452eb4096b56ea373fa8b46d2510 /Python/frozenmain.c
parent5ce0a2a100909104836f53a2c8823006ec46f8ad (diff)
downloadcpython-git-4ae06c5337e01bdde28bce57b6b9166ad50947e3.tar.gz
bpo-32241: Add the const qualifire to declarations of umodifiable strings. (#4748)
Diffstat (limited to 'Python/frozenmain.c')
-rw-r--r--Python/frozenmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/frozenmain.c b/Python/frozenmain.c
index 77602d70fa..a3b619671b 100644
--- a/Python/frozenmain.c
+++ b/Python/frozenmain.c
@@ -23,7 +23,7 @@ Py_FrozenMain(int argc, char **argv)
exit(1);
}
- char *p;
+ const char *p;
int i, n, sts = 1;
int inspect = 0;
int unbuffered = 0;