diff options
Diffstat (limited to 'Modules/getpath.c')
-rw-r--r-- | Modules/getpath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/getpath.c b/Modules/getpath.c index fc2b544..11babf0 100644 --- a/Modules/getpath.c +++ b/Modules/getpath.c @@ -910,7 +910,7 @@ calculate_init(PyCalculatePath *calculate, const _PyMainInterpreterConfig *main_config) { size_t len; - char *path = getenv("PATH"); + const char *path = getenv("PATH"); if (path) { calculate->path_env = Py_DecodeLocale(path, &len); if (!calculate->path_env) { |