diff options
-rw-r--r-- | sim/ppc/hw_memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/ppc/hw_memory.c b/sim/ppc/hw_memory.c index 09c331c..46b22f7 100644 --- a/sim/ppc/hw_memory.c +++ b/sim/ppc/hw_memory.c @@ -190,7 +190,7 @@ hw_memory_init_address(device *me) if (device_find_property(me, "available") != NULL) { hw_memory_chunk **curr_chunk = &hw_memory->heap; int cell_nr; - unsigned_cell dummy; + signed_cell dummy; int nr_cells = device_find_integer_array_property(me, "available", 0, &dummy); if ((nr_cells % 2) != 0) device_error(me, "property \"available\" invalid - contains an odd number of cells"); |