From 2871d4d7f3c2971b6dbf003cf8942562cb6526bd Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 1 Nov 2021 00:56:52 -0400 Subject: sim: lm32: reduce -Wno-error scope Clean up some warnings in dv-lm32cpu, and all in sim-if, then reduce the -Werror disable to the files that still aren't clean that now that we require GNU make and can set variables on a per-object basis. --- sim/lm32/sim-if.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sim/lm32/sim-if.c') diff --git a/sim/lm32/sim-if.c b/sim/lm32/sim-if.c index f9143ea..2f8b344 100644 --- a/sim/lm32/sim-if.c +++ b/sim/lm32/sim-if.c @@ -158,8 +158,8 @@ sim_open (SIM_OPEN_KIND kind, host_callback *callback, struct bfd *abfd, free_state (sd); return 0; } - /*sim_io_printf (sd, "Allocating memory at 0x%x size 0x%x\n", base, limit); */ - sim_do_commandf (sd, "memory region 0x%x,0x%x", base, limit); + /*sim_io_printf (sd, "Allocating memory at 0x%lx size 0x%lx\n", base, limit); */ + sim_do_commandf (sd, "memory region 0x%lx,0x%lx", base, limit); } } -- cgit v1.1