diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-05-01 22:37:49 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-05-04 22:06:23 -0400 |
commit | bf06b2a2f9fdf4b267c22328ba0dc35c07919f5c (patch) | |
tree | 146674196b676251dbc15f2f66a0b0af9b355e6c /sim/m68hc11/dv-m68hc11sio.c | |
parent | 77c0fdb7ff33eb5cbea9f71703eca1557499fc0c (diff) |
sim: m68hc11: tweak types to fix warnings
The hw attach API wants unsigned addresses.
The write API wants signed chars.
Diffstat (limited to 'sim/m68hc11/dv-m68hc11sio.c')
-rw-r--r-- | sim/m68hc11/dv-m68hc11sio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/m68hc11/dv-m68hc11sio.c b/sim/m68hc11/dv-m68hc11sio.c index a5ee9a9d68..b6eacb4883 100644 --- a/sim/m68hc11/dv-m68hc11sio.c +++ b/sim/m68hc11/dv-m68hc11sio.c @@ -340,7 +340,7 @@ m68hc11sio_tx_poll (struct hw *me, void *data) break; case sio_stdio: - sim_io_write_stdout (sd, &controller->tx_char, 1); + sim_io_write_stdout (sd, (const char *)&controller->tx_char, 1); sim_io_flush_stdout (sd); break; |