mirror of
https://github.com/python/cpython.git
synced 2026-05-13 07:59:04 -04:00
Issue #13772: Fix a compiler warning on Windows
This commit is contained in:
@@ -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] == ':';
|
||||
|
||||
Reference in New Issue
Block a user