mirror of
https://github.com/python/cpython.git
synced 2025-09-08 01:41:19 +00:00
Issue #13772: Fix a compiler warning on Windows
This commit is contained in:
parent
9550ef30e3
commit
e87267dc6e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue