From e4c803f5bb08e946f0550260b39f71eff0192262 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 6 Dec 2021 02:29:47 -0500 Subject: sim: common: migrate to standard uintXX_t types Drop the sim-specific unsignedXX types and move to the standard uintXX_t types that C11 provides. --- sim/common/hw-tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sim/common/hw-tree.c') diff --git a/sim/common/hw-tree.c b/sim/common/hw-tree.c index 2e6dadd..5631933 100644 --- a/sim/common/hw-tree.c +++ b/sim/common/hw-tree.c @@ -881,7 +881,7 @@ hw_tree_vparse (struct hw *current, #endif case '[': { - unsigned8 words[1024]; + uint8_t words[1024]; char *curr = spec.value + 1; int nr_words = 0; while (1) @@ -1127,7 +1127,7 @@ print_properties (struct hw *me, } else { - unsigned8 *w = (unsigned8*)property->array; + uint8_t *w = (uint8_t*)property->array; p->print (p->file, " ["); while ((char*)w - (char*)property->array < property->sizeof_array) { -- cgit v1.1