firmware-utils/buffalo-enc: explicitly use signed char for checksum function
authorFelix Fietkau <nbd@openwrt.org>
Mon, 12 Oct 2015 13:11:20 +0000 (13:11 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 12 Oct 2015 13:11:20 +0000 (13:11 +0000)
commitbbed8ac868737bc75a4c7156d5ed9872ca12395a
tree84f5727336df3fc62eb985ff36836bc582f1c014
parente7187779a23fca9d376ecfbc34b7fdb39d24c7d0
firmware-utils/buffalo-enc: explicitly use signed char for checksum function

ARM defaults to unsigned char and that breaks the calculation, as it
relies on sign extension

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47186
tools/firmware-utils/src/buffalo-lib.c