summaryrefslogtreecommitdiff
path: root/src/futils.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-06-23 17:09:22 +0100
committerEdward Thomson <ethomson@edwardthomson.com>2019-11-25 13:18:28 +1100
commit8be12026a158f0836c73f6b9f33abab640d9a115 (patch)
tree0734a3249ccedec73dd3c3c599b00453b7bb5687 /src/futils.h
parent7e1cc296e4c89c35b38d3637176aab2bdc4efab6 (diff)
downloadlibgit2-8be12026a158f0836c73f6b9f33abab640d9a115.tar.gz
mmap: use a 64-bit signed type `off64_t` for mmap
Prefer `off64_t` to `git_off_t` for internal visibility.
Diffstat (limited to 'src/futils.h')
-rw-r--r--src/futils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/futils.h b/src/futils.h
index f97b15602..3d5664679 100644
--- a/src/futils.h
+++ b/src/futils.h
@@ -290,7 +290,7 @@ extern mode_t git_futils_canonical_mode(mode_t raw_mode);
extern int git_futils_mmap_ro(
git_map *out,
git_file fd,
- git_off_t begin,
+ off64_t begin,
size_t len);
/**