Issue #13772: Fix a compiler warning on Windows

This commit is contained in:
Victor Stinner 2013-06-05 01:30:25 +02:00
parent 9550ef30e3
commit e87267dc6e
1 changed files with 1 additions and 1 deletions

View File

@ -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] == ':';