datajerk / c2t

Retro Code (Apple II, Cosmac VIP) to Tape/Text
BSD 3-Clause "New" or "Revised" License
64 stars 11 forks source link

Fix for hexdump parsing #11

Closed ghost closed 4 years ago

ghost commented 4 years ago

On my machine, makeheader produced headers with lots of casts of 16-bit variables to unsigned char. Compiler warned about this many times and then successfully produced executable files, which warn about simulated inflate failures and produce unusable WAV files. This little modification in how hexdump is called fixes it for me. I believe this is the same issue as https://github.com/datajerk/c2t/issues/1