X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/41082590e3aeb09f43656836f71b970551be5e98..8eede392b8d2dea41e1466b8f6e6387d0a3ab8b9:/tools/firmware-utils/src/buffalo-lib.c diff --git a/tools/firmware-utils/src/buffalo-lib.c b/tools/firmware-utils/src/buffalo-lib.c index 00ad1a5c1..29aee9f88 100644 --- a/tools/firmware-utils/src/buffalo-lib.c +++ b/tools/firmware-utils/src/buffalo-lib.c @@ -179,7 +179,7 @@ int bcrypt_buf(unsigned char seed, unsigned char *key, unsigned char *src, uint32_t buffalo_csum(uint32_t csum, void *buf, unsigned long len) { - unsigned char *p = buf; + char *p = buf; while (len--) { int i;