about summary refs log tree commit diff
path: root/string/test-ffs.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/test-ffs.c')
-rw-r--r--string/test-ffs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string/test-ffs.c b/string/test-ffs.c
index ad2a4cd374..3725910544 100644
--- a/string/test-ffs.c
+++ b/string/test-ffs.c
@@ -48,7 +48,7 @@ main (void)
   for (i=0 ; i < 8 * sizeof (type); i++)				      \
     try (#fct, 1ll << i, fct (((type) 1) << i), i + 1);			      \
   for (i=0 ; i < 8 * sizeof (type) ; i++)				      \
-    try (#fct, (~0ll >> i) << i, fct ((~((type) 0) >> i) << i), i + 1);	      \
+    try (#fct, (~((type) 0) >> i) << i, fct ((~((type) 0) >> i) << i), i + 1);\
   try (#fct, 0x80008000, fct ((type) 0x80008000), 16)
 
   TEST (ffs, int);