summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-12-26 00:10:27 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-12-26 00:10:27 +0900
commitdeb0983ab43dbc50a8d8f74369560f3cab7f8909 (patch)
tree0d0bed9a388c769ed698371edf7814f97f466610 /src/util.h
parent52155b1860765c63a9a335f0467870ae4cc7a4d0 (diff)
Fixed compile error on android (which does not LFS support)
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index 9d2a592d..33b7e69f 100644
--- a/src/util.h
+++ b/src/util.h
@@ -292,7 +292,7 @@ void parsePrioritizePieceRange
(std::vector<size_t>& result, const std::string& src,
const std::vector<SharedHandle<FileEntry> >& fileEntries,
size_t pieceLength,
- int64_t defaultSize = 1048576LL /* 1MiB */);
+ off_t defaultSize = 1048576 /* 1MiB */);
// Converts ISO/IEC 8859-1 string src to utf-8.
std::string iso8859ToUtf8(const std::string& src);