patch-2.1.96 linux/include/linux/kernel.h

Next file: linux/include/linux/parport.h
Previous file: linux/include/linux/if_arp.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.95/linux/include/linux/kernel.h linux/include/linux/kernel.h
@@ -69,10 +69,10 @@
  */
 
 #define NIPQUAD(addr) \
-	(((addr) >> 0)  & 0xff), \
-	(((addr) >> 8)  & 0xff), \
-	(((addr) >> 16) & 0xff), \
-	(((addr) >> 24) & 0xff)
+	(int)(((addr) >> 0)  & 0xff), \
+	(int)(((addr) >> 8)  & 0xff), \
+	(int)(((addr) >> 16) & 0xff), \
+	(int)(((addr) >> 24) & 0xff)
 
 #endif /* __KERNEL__ */
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov