summaryrefslogtreecommitdiff
path: root/src/map.h
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/map.h
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/map.h')
-rw-r--r--src/map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.h b/src/map.h
index 3188ffdbb..be569abc8 100644
--- a/src/map.h
+++ b/src/map.h
@@ -25,7 +25,7 @@ typedef struct { /* memory mapped buffer */
#endif
} git_map;
-extern int git__mmap(git_map *out, size_t len, int prot, int flags, int fd, off_t offset);
+extern int git__mmap(git_map *out, size_t len, int prot, int flags, int fd, git_off_t offset);
extern int git__munmap(git_map *map);
#endif /* INCLUDE_map_h__ */