From: Philip Homburg Date: Mon, 24 Oct 2005 13:51:39 +0000 (+0000) Subject: Removed cast from sys_inb. X-Git-Tag: v3.1.2a~547 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/named.html?a=commitdiff_plain;h=ed4ec02ddfeb3e39efd9ce964e08e2143f35f0ed;p=minix.git Removed cast from sys_inb. --- diff --git a/include/minix/syslib.h b/include/minix/syslib.h index ea4ad9ba3..4de6e077a 100755 --- a/include/minix/syslib.h +++ b/include/minix/syslib.h @@ -146,7 +146,7 @@ _PROTOTYPE(int sys_vinl, (pvl_pair_t *pvl_pairs, int nr_ports) ); _PROTOTYPE(int sys_out, (int port, unsigned long value, int type) ); /* Shorthands for sys_in() system call. */ -#define sys_inb(p,v) sys_in((p), (unsigned long*) (v), DIO_BYTE) +#define sys_inb(p,v) sys_in((p), (v), DIO_BYTE) #define sys_inw(p,v) sys_in((p), (unsigned long*) (v), DIO_WORD) #define sys_inl(p,v) sys_in((p), (unsigned long*) (v), DIO_LONG) _PROTOTYPE(int sys_in, (int port, unsigned long *value, int type) );