Commit 2c0a358
committed
machine/rx: Fix memchr to mask needle value to a single byte
memchr is supposed to interpret the parameter as an unsigned char, and
that requires it to ignore the upper bits.
Signed-off-by: Keith Packard <[email protected]>1 parent 3c63abd commit 2c0a358
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
0 commit comments