From 4a2dc816e992d490c11b9605b7a78f1e7f6d222b Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 22 Feb 2020 13:19:51 +0000 Subject: Type fixes work new libgit2 --- src/blob.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/blob.cpp') 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 {}; } -- cgit v1.2.3