summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/libi386/comconsole.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-08-03 09:14:02 +0000
committerjhb <jhb@FreeBSD.org>2000-08-03 09:14:02 +0000
commite165b852ded88acff34e4cb4f334647dcb33c319 (patch)
treea0d78fd9b77c781f88bf64107578f9e585421ff5 /sys/boot/i386/libi386/comconsole.c
parent1f9890b495e04d1e7d9e102fd9df269969c2885c (diff)
downloadFreeBSD-src-e165b852ded88acff34e4cb4f334647dcb33c319.zip
FreeBSD-src-e165b852ded88acff34e4cb4f334647dcb33c319.tar.gz
Cleanup warnings. Most of these are signed/unsigned warnings, as well as
some added const's.
Diffstat (limited to 'sys/boot/i386/libi386/comconsole.c')
-rw-r--r--sys/boot/i386/libi386/comconsole.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/i386/libi386/comconsole.c b/sys/boot/i386/libi386/comconsole.c
index ee6fbc8..9440b3a 100644
--- a/sys/boot/i386/libi386/comconsole.c
+++ b/sys/boot/i386/libi386/comconsole.c
@@ -114,7 +114,7 @@ comc_putchar(int c)
for (wait = COMC_TXWAIT; wait > 0; wait--)
if (inb(COMPORT + com_lsr) & LSR_TXRDY) {
- outb(COMPORT + com_data, c);
+ outb(COMPORT + com_data, (u_char)c);
break;
}
}
OpenPOWER on IntegriCloud