summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/libi386/comconsole.c
diff options
context:
space:
mode:
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