summaryrefslogtreecommitdiff
path: root/src/DownloadContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/DownloadContext.h')
-rw-r--r--src/DownloadContext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DownloadContext.h b/src/DownloadContext.h
index 46c69e69..7eee1f84 100644
--- a/src/DownloadContext.h
+++ b/src/DownloadContext.h
@@ -93,7 +93,7 @@ public:
// Convenient constructor that creates single file download. path
// should be escaped with util::escapePath(...).
DownloadContext(size_t pieceLength,
- uint64_t totalLength,
+ off_t totalLength,
const std::string& path = A2STR::NIL);
~DownloadContext();
@@ -114,7 +114,7 @@ public:
pieceHashes_.assign(first, last);
}
- uint64_t getTotalLength() const;
+ off_t getTotalLength() const;
bool knowsTotalLength() const { return knowsTotalLength_; }