firmware-utils/buffalo-enc: explicitly use signed char for checksum function
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 12 Oct 2015 13:11:20 +0000 (13:11 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 12 Oct 2015 13:11:20 +0000 (13:11 +0000)
commit2e743c121c18ee07cb8ece9ccb744df266cdf25e
tree84f5727336df3fc62eb985ff36836bc582f1c014
parenta96ec95ff1773358306c580e369abc22a37abfee
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47186 3c298f89-4303-0410-b956-a3cf2f4a3e73
tools/firmware-utils/src/buffalo-lib.c