summaryrefslogtreecommitdiff
path: root/src/FileAllocationEntry.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FileAllocationEntry.cc')
-rw-r--r--src/FileAllocationEntry.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FileAllocationEntry.cc b/src/FileAllocationEntry.cc
index a4e36e56..a0e1df05 100644
--- a/src/FileAllocationEntry.cc
+++ b/src/FileAllocationEntry.cc
@@ -53,12 +53,12 @@ FileAllocationEntry:: ~FileAllocationEntry()
_requestGroup->getPieceStorage()->getDiskAdaptor()->disableDirectIO();
}
-int64_t FileAllocationEntry::getCurrentLength()
+off_t FileAllocationEntry::getCurrentLength()
{
return _fileAllocationIterator->getCurrentLength();
}
-int64_t FileAllocationEntry::getTotalLength()
+uint64_t FileAllocationEntry::getTotalLength()
{
return _fileAllocationIterator->getTotalLength();
}