summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorallanjude <allanjude@FreeBSD.org>2016-02-02 03:08:37 +0000
committerallanjude <allanjude@FreeBSD.org>2016-02-02 03:08:37 +0000
commit14120d1fb726f9e2342c6cee6cf264a14ccf6cea (patch)
tree2e7a47775b7aeb3c635a1a92889de6366d822cee /sys/boot
parent05de7f15435827d273d924fd9d03c09d36bb19b6 (diff)
downloadFreeBSD-src-14120d1fb726f9e2342c6cee6cf264a14ccf6cea.zip
FreeBSD-src-14120d1fb726f9e2342c6cee6cf264a14ccf6cea.tar.gz
MFC: r294926
ficl on i386 should cast to unsigned char output to support efi i386 Submitted by: Toomas Soome <tsoome at me.com> Approved by: re (gjb)
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/ficl/i386/sysdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/ficl/i386/sysdep.c b/sys/boot/ficl/i386/sysdep.c
index 2a5346a..a87f643 100644
--- a/sys/boot/ficl/i386/sysdep.c
+++ b/sys/boot/ficl/i386/sysdep.c
@@ -58,7 +58,7 @@ void ficlTextOut(FICL_VM *pVM, char *msg, int fNewline)
IGNORE(pVM);
while(*msg != 0)
- putchar(*(msg++));
+ putchar((unsigned char)*(msg++));
if (fNewline)
putchar('\n');
OpenPOWER on IntegriCloud