libdmg-hfsplus icon indicating copy to clipboard operation
libdmg-hfsplus copied to clipboard

compilation error: bufferRead undeclared

Open throwaway-zz opened this issue 14 years ago • 2 comments

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.

throwaway-zz avatar Oct 26 '10 18:10 throwaway-zz

Just modify the files and add the variable bufferRead to the function in which it appears.

int bufferRead ;

HankHub avatar Dec 12 '10 19:12 HankHub

this issue is still present

maci0 avatar Oct 16 '14 11:10 maci0