From f8aab0076ace06c07f2b418b0b00e7bfe9ba3123 Mon Sep 17 00:00:00 2001 From: kelson42 Date: Sat, 28 Aug 2010 18:26:24 +0000 Subject: [PATCH] + fix the code for windows --- src/zimlib/include/zim/fstream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zimlib/include/zim/fstream.h b/src/zimlib/include/zim/fstream.h index be9f161..133cc70 100644 --- a/src/zimlib/include/zim/fstream.h +++ b/src/zimlib/include/zim/fstream.h @@ -66,7 +66,7 @@ namespace zim std::streambuf::int_type underflow(); int sync(); - void setCurrentFile(const std::string& fname, off_t off); + void setCurrentFile(const std::string& fname, zim::offset_type off); public: streambuf(const std::string& fname, unsigned bufsize, unsigned openFilesCache);