logo

utils-std

Collection of commonly available Unix tools
commit: 185bc60288c9491e251d3a4411b6b3f1488c338e
parent d24beac27e671c3652804c5e948ba3bf07df3468
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 24 Aug 2024 00:46:34 +0200

lib/tr_str.c: u_char -> unsigned char

Diffstat:

Mlib/tr_str.c2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/tr_str.c b/lib/tr_str.c @@ -244,7 +244,7 @@ genrange(STR *s) savestart = s->str; stopval = *++s->str == '\\' ? backslash(s) : *s->str++; - if(stopval < (u_char)s->lastch) + if(stopval < (unsigned char)s->lastch) { s->str = savestart; return (0);