commit | e87267dc6e35b59e1bddeef65ec321f2c4fa83ef | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Wed Jun 05 01:30:25 2013 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Wed Jun 05 01:30:25 2013 +0200 |
tree | ef9f985e2dd07db9b372edd31cc63403eefddd3d | |
parent | 9550ef30e3324c0032b09e81088457c45244901d [diff] |
Issue #13772: Fix a compiler warning on Windows
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 28e6f81..9b2f95b 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c
@@ -6772,7 +6772,7 @@ } -int _is_absA(char *path) { +int _is_absA(const char *path) { /* Is this path absolute? */ return path[0] == '\\' || path[0] == '/' || path[1] == ':';