aboutsummaryrefslogtreecommitdiff
path: root/sim/common/hw-tree.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-12-06 02:29:47 -0500
committerMike Frysinger <vapier@gentoo.org>2022-01-06 01:17:39 -0500
commite4c803f5bb08e946f0550260b39f71eff0192262 (patch)
treeb63f746ac5cc0496d802a5c2c27f27598333dcc2 /sim/common/hw-tree.c
parent9850d2d83eb919dc9e333e8ad9d7f308d2d1967b (diff)
downloadgdb-e4c803f5bb08e946f0550260b39f71eff0192262.zip
gdb-e4c803f5bb08e946f0550260b39f71eff0192262.tar.gz
gdb-e4c803f5bb08e946f0550260b39f71eff0192262.tar.bz2
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.
Diffstat (limited to 'sim/common/hw-tree.c')
-rw-r--r--sim/common/hw-tree.c4
1 files changed, 2 insertions, 2 deletions
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)
{