From: Ben Gras Date: Fri, 24 Mar 2006 23:05:21 +0000 (+0000) Subject: Compiler warnings X-Git-Tag: v3.1.2a~145 X-Git-Url: http://zhaoyanbai.com/repos/%22../static/icons/style.css?a=commitdiff_plain;h=d149383750656ad3f3f4e350fb2851bb098cea25;p=minix.git Compiler warnings --- diff --git a/drivers/printer/printer.c b/drivers/printer/printer.c index 326ce1215..e5cd7c986 100644 --- a/drivers/printer/printer.c +++ b/drivers/printer/printer.c @@ -177,7 +177,7 @@ register message *m_ptr; /* pointer to the newly arrived message */ register int r = SUSPEND; int retries; - int status; + unsigned long status; /* Reject command if last write is not yet finished, the count is not * positive, or the user address is bad. @@ -365,7 +365,7 @@ PRIVATE void do_printer_output() * printer IRQ yet! */ - int status; + unsigned long status; pvb_pair_t char_out[3]; if (oleft == 0) {