gallivm: Fix lp_build_print_value of smaller integer types.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 6 Dec 2012 08:50:46 +0000 (08:50 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 6 Dec 2012 15:58:40 +0000 (15:58 +0000)
commit33ffca713a5e593beda34d6bcbee8fb1af472cf7
tree817307a4f3d0fbdb4d32eb01227063dcd094f762
parent5396582f5e0f327437159d0a844eeaeba8146fde
gallivm: Fix lp_build_print_value of smaller integer types.

They need to be converted to the native integer type to prevent garbage
in higher order bits from being printed.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_printf.c