From 754c7de1e91eeb28c6d3766900ead0c3e44fdb85 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 01:51:28 +0200 Subject: Merging upstream version 1:9.16.48. Signed-off-by: Daniel Baumann --- lib/isc/win32/fsaccess.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/isc/win32/fsaccess.c') diff --git a/lib/isc/win32/fsaccess.c b/lib/isc/win32/fsaccess.c index 909f9e5..eb1ab54 100644 --- a/lib/isc/win32/fsaccess.c +++ b/lib/isc/win32/fsaccess.c @@ -70,7 +70,7 @@ is_ntfs(const char *file) { * Look for c:\path\... style, c:/path/... or \\computer\shar\path... * the UNC style file specs */ - if (isalpha(filename[0]) && filename[1] == ':' && + if (isalpha((unsigned char)filename[0]) && filename[1] == ':' && (filename[2] == '\\' || filename[2] == '/')) { /* Copy 'c:\' or 'c:/' and NUL terminate. */ -- cgit v1.2.3