[libpayload] Work around sign-extending issue
authorJordan Crouse <jordan.crouse@amd.com>
Sat, 29 Mar 2008 16:13:22 +0000 (16:13 +0000)
committerUwe Hermann <uwe@hermann-uwe.de>
Sat, 29 Mar 2008 16:13:22 +0000 (16:13 +0000)
commit0e122af46553c394b1ac4c38dd83ab01c7c34a9c
tree59c420ebbde72217f69d8f4c29b78f0871e45157
parent42cccdf03b17a7085099386edb41d8fd9092a170
[libpayload] Work around sign-extending issue

Somewhere characters are getting sign-extended, meaning that the
attributes of the drawing chars (>= 128) are wrong. Cast the value
before sending it to VGA.

Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3195 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
payloads/libpayload/curses/tinycurses.c