diff options
-rw-r--r-- | common/imd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/imd.c b/common/imd.c index 9be07fef74..526308effa 100644 --- a/common/imd.c +++ b/common/imd.c @@ -349,7 +349,7 @@ static int imd_calculate_crc32(void *input, const struct imd_header *imd_start, input += end_ofs; *crc = crc32(*crc, input, size - end_ofs); - debug("Calculated checksum from %d to %d: 0x%08x\n", end_ofs, + debug("Calculated checksum from %d to %zu: 0x%08x\n", end_ofs, end_ofs + (size - end_ofs), *crc); return 0; |