sim: mn10300: clean up pointer casts
authorMike Frysinger <vapier@gentoo.org>
Mon, 1 Nov 2021 03:21:36 +0000 (23:21 -0400)
committerMike Frysinger <vapier@gentoo.org>
Mon, 1 Nov 2021 03:21:36 +0000 (23:21 -0400)
commitad2511744f12087deecc331acbc7a9a3b203e472
tree5a2a9b46405ab8b044cb8f28e398eac6d7f53c75
parentc704d6e7ee44736aabec017f6ea1790fac668407
sim: mn10300: 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 enum.  Fix up the casts
to avoid using (long) to cast to/from pointers since there is no
guarantee that's the right size.
sim/mn10300/dv-mn103ser.c
sim/mn10300/dv-mn103tim.c