blob: fcb22f03f4d4973f77b5429142e167b19b93e426 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$NetBSD: patch-tools_libs_light_libxl.c,v 1.1 2021/04/18 12:31:26 bouyer Exp $
error: array subscript has type 'char' [-Werror=char-subscripts]
--- tools/libs/light/libxl.c.orig 2021-04-17 22:11:04.304715386 +0200
+++ tools/libs/light/libxl.c 2021-04-17 22:12:29.062613549 +0200
@@ -673,7 +673,7 @@
goto out;
}
- while (isblank(*params))
+ while (isblank((unsigned char)*params))
params++;
for (par = params; *par; par = end) {
@@ -703,7 +703,7 @@
goto out;
}
- while (isblank(*end))
+ while (isblank((unsigned char)*end))
end++;
}
|