mirror of https://github.com/python/cpython
Issue #13772: Fix a compiler warning on Windows
This commit is contained in:
parent
9550ef30e3
commit
e87267dc6e
|
@ -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] == ':';
|
||||
|
|
Loading…
Reference in New Issue