summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libgcc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libgcc.c b/src/lib/libgcc.c
index 369346cd7d..99a0749a45 100644
--- a/src/lib/libgcc.c
+++ b/src/lib/libgcc.c
@@ -32,17 +32,17 @@ int __clzsi2(u32 a)
};
int r = 0;
- if (!(a & (0xffff << 16))) {
+ if (!(a & (0xffffU << 16))) {
r += 16;
a <<= 16;
}
- if (!(a & (0xff << 24))) {
+ if (!(a & (0xffU << 24))) {
r += 8;
a <<= 8;
}
- if (!(a & (0xf << 28))) {
+ if (!(a & (0xfU << 28))) {
r += 4;
a <<= 4;
}