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
-  Lines: 10
-  Date:
Wed Aug 15 01:22:18 2001
-  Orig file: 
v2.4.8/linux/net/x25/af_x25.c
-  Orig date: 
Thu Apr 12 12:11:39 2001
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)