summaryrefslogtreecommitdiff
path: root/src/blob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/blob.cpp')
-rw-r--r--src/blob.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/blob.cpp b/src/blob.cpp
index 59e5f83..6311b31 100644
--- a/src/blob.cpp
+++ b/src/blob.cpp
@@ -46,8 +46,10 @@ GitFS::Blob::fgetattr(ReqEnv, const ::Ice::Current&)
NetFS::Buffer
-GitFS::Blob::read(long long int offset, long long int size, const ::Ice::Current&)
+GitFS::Blob::read(long long int o, long long int s, const ::Ice::Current&)
{
+ const decltype(blobSize) offset(o);
+ const decltype(blobSize) size(s);
if (offset > blobSize) {
return {};
}