Skip to contentSkip to conversation

alpha: long constant

PATCH New Al Viro 1 participant 1 message Jul 26, 2007

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 alpha: long constant

---
 include/asm-alpha/bitops.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/asm-alpha/bitops.h +1 -1
index 3a0cbeb..9e71201 100644
@@ -324,7 +324,7 @@ static inline int fls64(unsigned long x)
 {
 	unsigned long t, a, r;
 
-	t = __kernel_cmpbge (x, 0x0101010101010101);
+	t = __kernel_cmpbge (x, 0x0101010101010101UL);
 	a = __flsm1_tab[t];
 	t = __kernel_extbl (x, a);
 	r = a*8 + __flsm1_tab[t] + (x != 0);
Signature · 1 line
1.5.3.GIT