summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-02-22 13:19:51 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2020-05-08 14:42:50 +0100
commit4a2dc816e992d490c11b9605b7a78f1e7f6d222b (patch)
tree1d08aaa7fa77e42d4a42d2b247c31133015efe56 /src
parentFixes for tidy (diff)
downloadnetfs-gitfs-4a2dc816e992d490c11b9605b7a78f1e7f6d222b.tar.bz2
netfs-gitfs-4a2dc816e992d490c11b9605b7a78f1e7f6d222b.tar.xz
netfs-gitfs-4a2dc816e992d490c11b9605b7a78f1e7f6d222b.zip
Type fixes work new libgit2netfs-gitfs-0.1.1
Diffstat (limited to 'src')
-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 {};
}