svn commit: r294926 - head/sys/boot/ficl/i386
Allan Jude
allanjude at FreeBSD.org
Wed Jan 27 16:45:25 UTC 2016
Author: allanjude
Date: Wed Jan 27 16:45:23 2016
New Revision: 294926
URL: https://svnweb.freebsd.org/changeset/base/294926
Log:
ficl on i386 should cast to unsigned char output to support efi i386
make it possible for efi_console to recognize and translate box characters
on i386 build (unsigned versus signed char passed as int issue).
Submitted by: Toomas Soome <tsoome at me.com>
Reviewed by: emaste, smh, dteske
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D4993
Modified:
head/sys/boot/ficl/i386/sysdep.c
Modified: head/sys/boot/ficl/i386/sysdep.c
==============================================================================
--- head/sys/boot/ficl/i386/sysdep.c Wed Jan 27 16:36:18 2016 (r294925)
+++ head/sys/boot/ficl/i386/sysdep.c Wed Jan 27 16:45:23 2016 (r294926)
@@ -58,7 +58,7 @@ void ficlTextOut(FICL_VM *pVM, char *ms
IGNORE(pVM);
while(*msg != 0)
- putchar(*(msg++));
+ putchar((unsigned char)*(msg++));
if (fNewline)
putchar('\n');
More information about the svn-src-head
mailing list