Commit a067da16 authored by Victor Stinner's avatar Victor Stinner

Issue #13772: Fix a compiler warning on Windows

parent c1335d99
...@@ -6772,7 +6772,7 @@ int _is_absW(const WCHAR *path) { ...@@ -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? */ /* Is this path absolute? */
return path[0] == '\\' || path[0] == '/' || path[1] == ':'; return path[0] == '\\' || path[0] == '/' || path[1] == ':';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment