patch-2.4.20 linux-2.4.20/drivers/macintosh/apm_emu.c

Next file: linux-2.4.20/drivers/macintosh/macio-adb.c
Previous file: linux-2.4.20/drivers/macintosh/adb.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/drivers/macintosh/apm_emu.c linux-2.4.20/drivers/macintosh/apm_emu.c
@@ -183,7 +183,7 @@
 static ssize_t do_read(struct file *fp, char *buf, size_t count, loff_t *ppos)
 {
 	struct apm_user *	as;
-	int			i;
+	size_t			i;
 	apm_event_t		event;
 	DECLARE_WAITQUEUE(wait, current);
 

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