patch-1.3.46 linux/include/asm-i386/bitops.h

Next file: linux/include/asm-i386/mman.h
Previous file: linux/include/asm-alpha/unistd.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.45/linux/include/asm-i386/bitops.h linux/include/asm-i386/bitops.h
@@ -64,7 +64,7 @@
  */
 extern __inline__ int test_bit(int nr, const void * addr)
 {
-	return 1UL & (((unsigned int *) addr)[nr >> 5] >> (nr & 31));
+	return 1UL & (((const unsigned int *) addr)[nr >> 5] >> (nr & 31));
 }
 
 /*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this