From d4ceb178d382a0dc103f57e3d04f2f37333de0ab Mon Sep 17 00:00:00 2001 From: allanjude Date: Tue, 2 Feb 2016 03:08:37 +0000 Subject: [PATCH] MFC: r294926 ficl on i386 should cast to unsigned char output to support efi i386 Submitted by: Toomas Soome Approved by: re (gjb) git-svn-id: svn://svn.freebsd.org/base/stable/10@295135 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sys/boot/ficl/i386/sysdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/boot/ficl/i386/sysdep.c b/sys/boot/ficl/i386/sysdep.c index 2a5346aa7..a87f6436f 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'); -- 2.45.0