diff --git a/libc3/buf_parse_u.c.in b/libc3/buf_parse_u.c.in
index 16edcc8..e285c21 100644
--- a/libc3/buf_parse_u.c.in
+++ b/libc3/buf_parse_u.c.in
@@ -126,7 +126,7 @@ sw buf_parse_u_bits$_base (s_buf *buf, const s_str *base,
goto restore;
}
u *= radix;
- if (u > (u_bits$) (U_BITS$_MAX - digit)) {
+ if (u > ((u_bits$) (U_BITS$_MAX - digit))) {
warnx("buf_parse_u_bits$_base: +: integer overflow");
r = -1;
goto restore;
diff --git a/libc3/buf_parse_u16.c b/libc3/buf_parse_u16.c
index e9656ed..3c2f497 100644
--- a/libc3/buf_parse_u16.c
+++ b/libc3/buf_parse_u16.c
@@ -126,7 +126,7 @@ sw buf_parse_u16_base (s_buf *buf, const s_str *base,
goto restore;
}
u *= radix;
- if (u > (u16) (U16_MAX - digit)) {
+ if (u > ((u16) (U16_MAX - digit))) {
warnx("buf_parse_u16_base: +: integer overflow");
r = -1;
goto restore;
diff --git a/libc3/buf_parse_u32.c b/libc3/buf_parse_u32.c
index 30163d9..cf49de9 100644
--- a/libc3/buf_parse_u32.c
+++ b/libc3/buf_parse_u32.c
@@ -126,7 +126,7 @@ sw buf_parse_u32_base (s_buf *buf, const s_str *base,
goto restore;
}
u *= radix;
- if (u > (u32) (U32_MAX - digit)) {
+ if (u > ((u32) (U32_MAX - digit))) {
warnx("buf_parse_u32_base: +: integer overflow");
r = -1;
goto restore;
diff --git a/libc3/buf_parse_u64.c b/libc3/buf_parse_u64.c
index f758422..e648831 100644
--- a/libc3/buf_parse_u64.c
+++ b/libc3/buf_parse_u64.c
@@ -126,7 +126,7 @@ sw buf_parse_u64_base (s_buf *buf, const s_str *base,
goto restore;
}
u *= radix;
- if (u > (u64) (U64_MAX - digit)) {
+ if (u > ((u64) (U64_MAX - digit))) {
warnx("buf_parse_u64_base: +: integer overflow");
r = -1;
goto restore;
diff --git a/libc3/buf_parse_u8.c b/libc3/buf_parse_u8.c
index b14ecd6..c71ef80 100644
--- a/libc3/buf_parse_u8.c
+++ b/libc3/buf_parse_u8.c
@@ -126,7 +126,7 @@ sw buf_parse_u8_base (s_buf *buf, const s_str *base,
goto restore;
}
u *= radix;
- if (u > (u8) (U8_MAX - digit)) {
+ if (u > ((u8) (U8_MAX - digit))) {
warnx("buf_parse_u8_base: +: integer overflow");
r = -1;
goto restore;
diff --git a/libc3/buf_parse_uw.c b/libc3/buf_parse_uw.c
index 3eaf9eb..4410d89 100644
--- a/libc3/buf_parse_uw.c
+++ b/libc3/buf_parse_uw.c
@@ -126,7 +126,7 @@ sw buf_parse_uw_base (s_buf *buf, const s_str *base,
goto restore;
}
u *= radix;
- if (u > (uw) (UW_MAX - digit)) {
+ if (u > ((uw) (UW_MAX - digit))) {
warnx("buf_parse_uw_base: +: integer overflow");
r = -1;
goto restore;