From e87267dc6e35b59e1bddeef65ec321f2c4fa83ef Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 5 Jun 2013 01:30:25 +0200 Subject: [PATCH] Issue #13772: Fix a compiler warning on Windows --- Modules/posixmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 28e6f81b12..9b2f95be38 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -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] == ':'; -- 2.50.1