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'); _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"