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
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