diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2019-06-23 18:13:29 +0100 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2019-11-25 13:18:29 +1100 |
commit | 6460e8abcfda7692af9bd267bddf6e11a78f8130 (patch) | |
tree | c1b53835ff0e9a29c332f98ba6952df3640cebce /src/unix/map.c | |
parent | 05237ee559486ae4416f3d12e4a422bd9183f7ea (diff) | |
download | libgit2-ethomson/off_t.tar.gz |
internal: use off64_t instead of git_off_tethomson/off_t
Prefer `off64_t` internally.
Diffstat (limited to 'src/unix/map.c')
-rw-r--r-- | src/unix/map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unix/map.c b/src/unix/map.c index 1ebbced5c..7f9076e19 100644 --- a/src/unix/map.c +++ b/src/unix/map.c @@ -32,7 +32,7 @@ int git__mmap_alignment(size_t *alignment) return git__page_size(alignment); } -int p_mmap(git_map *out, size_t len, int prot, int flags, int fd, git_off_t offset) +int p_mmap(git_map *out, size_t len, int prot, int flags, int fd, off64_t offset) { int mprot = PROT_READ; int mflag = 0; |