dl09/dl-load.c: Fix gcc 12 warning

Changed format of size_t variable being printed.

Updates #4662
This commit is contained in:
Ryan Long
2022-08-16 12:03:17 -05:00
committed by Joel Sherrill
parent b092ad57e2
commit dc0dcccf41

View File

@@ -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 ();