patch-2.4.9 linux/net/x25/af_x25.c

Next file: linux/CREDITS
Previous file: linux/net/wanrouter/wanproc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.8/linux/net/x25/af_x25.c linux/net/x25/af_x25.c
@@ -407,7 +407,7 @@
 			return -ENOPROTOOPT;
 	}
 
-	len = min(len, sizeof(int));
+	len = min(unsigned int, len, sizeof(int));
 
 	if (len < 0)
 		return -EINVAL;


FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)