summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-06-04 23:30:25 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-06-04 23:30:25 (GMT)
commite87267dc6e35b59e1bddeef65ec321f2c4fa83ef (patch)
treeef9f985e2dd07db9b372edd31cc63403eefddd3d /Modules/posixmodule.c
parent9550ef30e3324c0032b09e81088457c45244901d (diff)
downloadcpython-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.c2
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] == ':';