sim: m68hc11: clean up pointer casts
authorMike Frysinger <vapier@gentoo.org>
Mon, 1 Nov 2021 04:07:15 +0000 (00:07 -0400)
committerMike Frysinger <vapier@gentoo.org>
Mon, 1 Nov 2021 04:07:15 +0000 (00:07 -0400)
commit06969ac4491a0edd7083f1705c87281e1a0780f7
treec0d0854abd8dcda4583c1f3ff4a20f8b75215798
parent6dc840d69d86b379f0c62c0615b3f4f6d37a8c1f
sim: m68hc11: clean up pointer casts

The void *data field is used to past arbitrary data between event
handlers, and these are using it to pass an integer.  Fix up the
casts to avoid using (long) to cast to/from pointers since there
is no guarantee that's the right size.
sim/m68hc11/dv-m68hc11tim.c