forked from Imagelibrary/rtems
dl09/dl-load.c: Fix gcc 12 warning
Changed format of size_t variable being printed. Updates #4662
This commit is contained in:
@@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user