+ fix the code for windows

This commit is contained in:
kelson42 2010-08-28 18:26:24 +00:00
parent bf47514898
commit f8aab0076a

View File

@ -66,7 +66,7 @@ namespace zim
std::streambuf::int_type underflow(); std::streambuf::int_type underflow();
int sync(); int sync();
void setCurrentFile(const std::string& fname, off_t off); void setCurrentFile(const std::string& fname, zim::offset_type off);
public: public:
streambuf(const std::string& fname, unsigned bufsize, unsigned openFilesCache); streambuf(const std::string& fname, unsigned bufsize, unsigned openFilesCache);