Date: Wed, 27 Jan 2016 16:45:23 +0000 (UTC) From: Allan Jude <allanjude@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r294926 - head/sys/boot/ficl/i386 Message-ID: <201601271645.u0RGjN7M016891@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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');
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601271645.u0RGjN7M016891>