From: Victor Stinner Date: Tue, 4 Jun 2013 23:30:25 +0000 (+0200) Subject: Issue #13772: Fix a compiler warning on Windows X-Git-Tag: v3.4.0a1~566 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e87267dc6e35b59e1bddeef65ec321f2c4fa83ef;p=thirdparty%2FPython%2Fcpython.git Issue #13772: Fix a compiler warning on Windows --- diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 28e6f81b1289..9b2f95be38fd 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] == ':';