1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-26 22:52:34 +02:00

tests/chip: fix print format errors in gcc 14.2.0

Change-Id: I8c461accefddce3d5ee33b0fb6b91c434d721945
Signed-off-by: Antonio Vázquez Blanco <antoniovazquezblanco@gmail.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/86679
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
This commit is contained in:
Antonio Vázquez Blanco 2025-03-01 18:43:09 +01:00 committed by Anastasia Klimchuk
parent 4054920f09
commit b169da4edb

View File

@ -92,7 +92,7 @@ static void progress_callback(enum flashrom_progress_stage stage, size_t current
} }
if (current >= total - 1) 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; progress_user_data->last_seen[stage] = current;
} }