

drivers/char/tpqic02.c: In function `rdstatus':
drivers/char/tpqic02.c:700: warning: int format, different type arg (arg 2)
drivers/char/tpqic02.c:700: warning: int format, different type arg (arg 2)


---

 25-akpm/drivers/char/tpqic02.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/char/tpqic02.c~tpqic02-warnings drivers/char/tpqic02.c
--- 25/drivers/char/tpqic02.c~tpqic02-warnings	2004-04-09 21:05:08.328765344 -0700
+++ 25-akpm/drivers/char/tpqic02.c	2004-04-09 21:05:08.333764584 -0700
@@ -694,7 +694,7 @@ static int rdstatus(char *stp, unsigned 
 		*q = inb_p(QIC02_DATA_PORT);	/* read status byte */
 
 		if (TP_DIAGS(current_type))
-			printk("[%1d]=0x%x  ", q - stp, (unsigned) (*q) & 0xff);
+			printk("[%1zd]=0x%x  ", q - stp, (unsigned) (*q) & 0xff);
 
 		outb_p(ctlbits | QIC02_CTL_REQUEST, QIC02_CTL_PORT);	/* set request */
 

_
