fixed a MSVC specific ism (mudlords own words)

git-svn-id: https://svn.code.sf.net/p/vbam/code/branches/Pre-Wx@1022 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
squall-leonhart 2011-05-25 14:52:13 +00:00
parent 413b471e1b
commit 7e6c812d6b
1 changed files with 1 additions and 1 deletions

View File

@ -706,8 +706,8 @@ long ZEXPORT memgzseek(gzFile file, long off, int whence)
}
// this is inefficient, but the best I can do without actually reading
// the above code
char buf[80];
while(off > 0) {
char buf[80];
int r = memgzread(file, buf, off > 80 ? 80 : off);
if(r <= 0)
return -1;