aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bootstrap/rtl/string.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/bootstrap/rtl/string.c b/bootstrap/rtl/string.c
index 0936a84..62a2640 100644
--- a/bootstrap/rtl/string.c
+++ b/bootstrap/rtl/string.c
@@ -62,14 +62,14 @@ const unsigned char *SLUL__decode_string(
len = 0x80U + s[1];
s += 2;
} else if (format < SLUL_SL_UPTO_10001017F) {
- len = 0x180U + ((unsigned)s[1] |
- (unsigned)s[2]<<8);
+ len = 0x180U + ( (unsigned)s[1] |
+ ((unsigned)s[2]<<8U) );
s += 3;
} else {
assert(format == SLUL_SL_UPTO_10001017F);
- len = 0x10180U + ((unsigned)s[1] |
- (unsigned)s[2]<<8 |
- (unsigned)s[3]<<16);
+ len = 0x10180U + ( (unsigned)s[1] |
+ ((unsigned)s[2]<<8U) |
+ ((unsigned)s[3]<<16U) );
s += 4;
}
if (len_out) *len_out = len;