cmd_spi: remove broken signed casting for display
authorMike Frysinger <vapier@gentoo.org>
Tue, 14 Oct 2008 11:04:38 +0000 (07:04 -0400)
committerWolfgang Denk <wd@denx.de>
Tue, 14 Oct 2008 12:19:34 +0000 (14:19 +0200)
commitc46980f6d2135ade345dadc1fb1f1f4c8bbf255a
tree0d04458ec6dba12a7de97e631deb1c0bee3845f1
parentd5fd0b49210c941de8a1fce3947ace92243ab5ca
cmd_spi: remove broken signed casting for display

Since we're working with unsigned data, you can't apply a signed pointer
cast and then attempt to print the result.  Otherwise you get wrong output
when the sign bit is set like "0xFF" incorrectly extended to "0xFFFFFFFF".

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
common/cmd_spi.c