]> git.hungrycats.org Git - linux/commitdiff
[PATCH] size_t fixes.
authorDave Jones <davej@codemonkey.org.uk>
Wed, 8 Jan 2003 10:55:18 +0000 (02:55 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Wed, 8 Jan 2003 10:55:18 +0000 (02:55 -0800)
The first of many...

From 2.4

drivers/macintosh/apm_emu.c

index aa7b1027f54f52a8b5a220c0ea149b04a4887cdc..34dc10acf6d8731ebc2d877aca3a359ac51784f0 100644 (file)
@@ -183,7 +183,7 @@ static int check_apm_user(struct apm_user *as, const char *func)
 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);