Skip to content
Commit c46980f6 authored by Mike Frysinger's avatar Mike Frysinger Committed by Wolfgang Denk
Browse files

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: default avatarMike Frysinger <vapier@gentoo.org>
parent d5fd0b49
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment