Mike Frysinger 44056b7ce4 sim: m32c: clean up various warnings
A random grab bag of minor fixes to enable -Werror for this port.

Check the return values of read & write calls and issue warnings when
they fail.
Fixup funky pointer math as the compiler doesn't like ++ on void*.
Handle short reads with fread().
2021-05-07 00:36:26 -04:00
..
2021-05-07 00:36:26 -04:00
2021-05-07 00:36:26 -04:00
2021-05-04 08:13:45 -04:00
2021-05-07 00:36:26 -04:00
2021-05-07 00:36:26 -04:00