libdmg-hfsplus
libdmg-hfsplus copied to clipboard
compilation error: bufferRead undeclared
I'm not sure how this escaped notice (except that this repository doesn't seem active), but the latest commit containing ADC support doesn't compile.
The 'bufferRead' variable needs to be declared in dmg/dmgfile.c and dmg/io.c, and it also looks like there should be an initialization statement (bufferRead = 0) in dmg/io.c, just like there is in dmg/dmgfile.c.
Just modify the files and add the variable bufferRead to the function in which it appears.
int bufferRead ;
this issue is still present