[PARPORT] unsigned must be signed


Andrea Arcangeli (arcangeli@mbox.queen.it)
Wed, 11 Feb 1998 16:01:05 +0100 (CET)


Please apply this patch to 2.1.86. With unsinged int the irq can' t be set
to none. I missed this developing the patch...

Andrea[s] Arcangeli

--- linux/drivers/misc/parport_procfs.c 1998/02/11 14:53:51 1.1
+++ linux/drivers/misc/parport_procfs.c 1998/02/11 14:53:57
@@ -32,7 +32,7 @@
 static int irq_write_proc(struct file *file, const char *buffer,
                                           unsigned long count, void *data)
 {
- unsigned int newirq, oldirq;
+ int newirq, oldirq;
         struct parport *pp = (struct parport *)data;
         
         if (count > 5 ) /* more than 4 digits + \n for a irq 0x?? 0?? ?? */

-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --



This archive was generated by hypermail 2.0b3 on Wed 30 Dec 1998 - 10:17:27 EST