diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-06-04 23:30:25 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-06-04 23:30:25 (GMT) |
commit | e87267dc6e35b59e1bddeef65ec321f2c4fa83ef (patch) | |
tree | ef9f985e2dd07db9b372edd31cc63403eefddd3d /Modules/posixmodule.c | |
parent | 9550ef30e3324c0032b09e81088457c45244901d (diff) | |
download | cpython-e87267dc6e35b59e1bddeef65ec321f2c4fa83ef.zip cpython-e87267dc6e35b59e1bddeef65ec321f2c4fa83ef.tar.gz cpython-e87267dc6e35b59e1bddeef65ec321f2c4fa83ef.tar.bz2 |
Issue #13772: Fix a compiler warning on Windows
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r-- | Modules/posixmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
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_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] == ':'; |