#1175 Correction to r4597 Additional file (which, in error, I didn't to commit)

v0.27.3
Robin Mills 8 years ago
parent 44da4724b3
commit 1ff0bef409

@ -151,8 +151,8 @@ int WriteReadSeek(BasicIo &io)
std::cerr << ": WRS size is not " << size1 << "\n"; std::cerr << ": WRS size is not " << size1 << "\n";
return 2; return 2;
} }
long backup = (long)size1;
io.seek(-size1, BasicIo::cur); io.seek(-backup, BasicIo::cur);
int c = EOF; int c = EOF;
std::memset(buf, -1, sizeof(buf)); std::memset(buf, -1, sizeof(buf));

Loading…
Cancel
Save