diff options
Diffstat (limited to 'tools/firmware-utils/src/mkwrgimg.c')
-rw-r--r-- | tools/firmware-utils/src/mkwrgimg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/firmware-utils/src/mkwrgimg.c b/tools/firmware-utils/src/mkwrgimg.c index 3915d146cf..6ba2fd1577 100644 --- a/tools/firmware-utils/src/mkwrgimg.c +++ b/tools/firmware-utils/src/mkwrgimg.c @@ -100,7 +100,7 @@ static void get_digest(struct wrg_header *header, char *data, int size) MD5_Update(&ctx, (char *)&header->devname, sizeof(header->devname)); MD5_Update(&ctx, data, size); - MD5_Final(header->digest, &ctx); + MD5_Final((unsigned char *)header->digest, &ctx); } int main(int argc, char *argv[]) |