diff options
author | allanjude <allanjude@FreeBSD.org> | 2016-01-27 16:45:23 +0000 |
---|---|---|
committer | allanjude <allanjude@FreeBSD.org> | 2016-01-27 16:45:23 +0000 |
commit | e7702ce3dffefab878927f99d7bc663b9869846c (patch) | |
tree | c424722212cae1abfaefb66373b00ed891f4b9b2 | |
parent | fcd747ffb0fe692e5ec1668020a51cd34d3897f9 (diff) | |
download | FreeBSD-src-e7702ce3dffefab878927f99d7bc663b9869846c.zip FreeBSD-src-e7702ce3dffefab878927f99d7bc663b9869846c.tar.gz |
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
-rw-r--r-- | sys/boot/ficl/i386/sysdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/ficl/i386/sysdep.c b/sys/boot/ficl/i386/sysdep.c index 39c853b..df0891d 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'); |