From dc0dcccf419c8edcdcd673e019e9ebffbddc59b0 Mon Sep 17 00:00:00 2001 From: Ryan Long Date: Tue, 16 Aug 2022 12:03:17 -0500 Subject: [PATCH] dl09/dl-load.c: Fix gcc 12 warning Changed format of size_t variable being printed. Updates #4662 --- testsuites/libtests/dl09/dl-load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuites/libtests/dl09/dl-load.c b/testsuites/libtests/dl09/dl-load.c index 1de7c8fa29..ce9708c3a3 100644 --- a/testsuites/libtests/dl09/dl-load.c +++ b/testsuites/libtests/dl09/dl-load.c @@ -171,7 +171,7 @@ static void dl_object_open (object_def* od, objects* o) if (od->space != 0) { o->space = malloc (od->space); - printf("space alloc: %s: %d: %p\n", od->name, od->space, o->space); + printf("space alloc: %s: %zd: %p\n", od->name, od->space, o->space); rtems_test_assert (o->space != NULL); } dl_load_dump ();