image->num_blocks is of type unsigned size_t thus unsigned int or unsigned long int. %lu specifies a type of long unsigned int. Thus resulting in compiler warning about type mismatch on some systems. Fix this by printing the value with length modified z. Signed-off-by: Martin Botka <martin.botka@somainline.org>