summaryrefslogtreecommitdiff
path: root/src/unix/map.c
diff options
context:
space:
mode:
authorAlex Budovski <abudovski@gmail.com>2011-01-11 16:07:45 +1100
committerAlex Budovski <abudovski@gmail.com>2011-01-11 18:31:55 +1100
commitf0bde7fac0796bb6d7bfe794bd049041f2133905 (patch)
tree8d0b13c20236ca2faa2017fe9ca4fa69b9efb0a5 /src/unix/map.c
parente0c23b88c57a5d765e5572d8ed317a4ba4da102a (diff)
downloadlibgit2-f0bde7fac0796bb6d7bfe794bd049041f2133905.tar.gz
Revised platform types to use 'best supported' size.
This will allow graceful migration to 64 bit file sizes and timestamps should git's binary interface be extended to allow this.
Diffstat (limited to 'src/unix/map.c')
-rw-r--r--src/unix/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unix/map.c b/src/unix/map.c
index 3008008a6..4780bd23c 100644
--- a/src/unix/map.c
+++ b/src/unix/map.c
@@ -4,7 +4,7 @@
#include <errno.h>
-int git__mmap(git_map *out, size_t len, int prot, int flags, int fd, off_t offset)
+int git__mmap(git_map *out, size_t len, int prot, int flags, int fd, git_off_t offset)
{
int mprot = 0;
int mflag = 0;