From b169da4edb4cd1646da1b0a5cd29c7a8f8efa3e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20V=C3=A1zquez=20Blanco?= Date: Sat, 1 Mar 2025 18:43:09 +0100 Subject: [PATCH] tests/chip: fix print format errors in gcc 14.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I8c461accefddce3d5ee33b0fb6b91c434d721945 Signed-off-by: Antonio Vázquez Blanco Reviewed-on: https://review.coreboot.org/c/flashrom/+/86679 Tested-by: build bot (Jenkins) Reviewed-by: Anastasia Klimchuk Reviewed-by: Elyes Haouas --- tests/chip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/chip.c b/tests/chip.c index 95c861655..be82dbefe 100644 --- a/tests/chip.c +++ b/tests/chip.c @@ -92,7 +92,7 @@ static void progress_callback(enum flashrom_progress_stage stage, size_t current } if (current >= total - 1) - printf("Progress almost complete for stage %d, current %ld, total %ld\n", stage, current, total); + printf("Progress almost complete for stage %d, current %zu, total %zu\n", stage, current, total); progress_user_data->last_seen[stage] = current; }