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)
commit86492a1eb8eafb4f8948e02956fb9e6ff62e102a
tree62f70bac27ff0f4e482d1d16287d5cf0f5e55ae7
parent772e2c0a77b5ef3748f40028ca76df6134d5ee49
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