tty: make tty_ldisc_ops::*buf*() hooks operate on size_t
[linux-2.6-microblaze.git] / drivers / net / ppp / ppp_async.c
index f420bdd..79b8fca 100644 (file)
@@ -331,7 +331,7 @@ ppp_asynctty_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg)
 /* May sleep, don't call from interrupt level or with interrupts disabled */
 static void
 ppp_asynctty_receive(struct tty_struct *tty, const unsigned char *buf,
-                 const char *cflags, int count)
+                    const char *cflags, size_t count)
 {
        struct asyncppp *ap = ap_get(tty);
        unsigned long flags;