diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 28e6f81b128..9b2f95be38f 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -6772,7 +6772,7 @@ int _is_absW(const WCHAR *path) { } -int _is_absA(char *path) { +int _is_absA(const char *path) { /* Is this path absolute? */ return path[0] == '\\' || path[0] == '/' || path[1] == ':';