From 8e0d2759f61d61a83a362a950754120bedbf2ce1 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 26 May 2022 12:55:33 +0000 Subject: Consistency pass Signed-off-by: Laurent Bercot --- src/libexecline/el_parse.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libexecline/el_parse.c') diff --git a/src/libexecline/el_parse.c b/src/libexecline/el_parse.c index 6ef7ce9..23a9df5 100644 --- a/src/libexecline/el_parse.c +++ b/src/libexecline/el_parse.c @@ -69,18 +69,18 @@ int el_parse (stralloc *sa, el_chargen_func_ref next, void *source) if (!blevel--) return -4 ; sa->len -= 2 ; } - if (c & 0x0400) if (!stralloc_catb(sa, (char *)&cur, 1)) return -1 ; - if (c & 0x0200) + if (c & 0x0400U) if (!stralloc_catb(sa, (char *)&cur, 1)) return -1 ; + if (c & 0x0200U) { char x = 7 + byte_chr("abtnvfr", 7, cur) ; if (!stralloc_catb(sa, &x, 1)) return -1 ; } - if (c & 0x0100) + if (c & 0x0100U) { if (n++ >= INT_MAX) return (errno = E2BIG, -1) ; if (!stralloc_0(sa)) return -1 ; } - if (c & 0x0080) + if (c & 0x0080U) { switch (cur) { -- cgit v1.2.3