aboutsummaryrefslogtreecommitdiff
path: root/sim/common/hw-base.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/hw-base.c')
-rw-r--r--sim/common/hw-base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/hw-base.c b/sim/common/hw-base.c
index af4cc50..dee9359 100644
--- a/sim/common/hw-base.c
+++ b/sim/common/hw-base.c
@@ -385,7 +385,7 @@ hw_create (struct sim_state *sd,
/* locate a descriptor */
{
- const struct hw_descriptor **table;
+ const struct hw_descriptor * const *table;
for (table = hw_descriptors;
*table != NULL;
table++)