- replaced the C++ based file access wrapper in ZMusic with a C compatible version.

This commit is contained in:
Christoph Oelckers 2020-01-01 22:54:27 +01:00
commit 0d000344ca
13 changed files with 144 additions and 52 deletions

View file

@ -149,7 +149,7 @@ void skip(timidity_file *tf, size_t len)
int tf_getc(timidity_file *tf)
{
unsigned char c;
auto read = tf_read(&c, 1, 1, tf);
auto read = tf_read(&c, 1, tf);
return read == 0 ? EOF : c;
}