patch-2.4.9 linux/drivers/net/wan/comx-proto-lapb.c

Next file: linux/drivers/net/wan/comx.c
Previous file: linux/drivers/net/wan/comx-proto-fr.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.8/linux/drivers/net/wan/comx-proto-lapb.c linux/drivers/net/wan/comx-proto-lapb.c
@@ -212,7 +212,7 @@
 	if (count >= len - off) {
 		*eof = 1;
 	}
-	return ( min(count, len - off) );
+	return min(int, count, len - off);
 }
 
 static int comxlapb_write_proc(struct file *file, const char *buffer, 

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