vendor/libgit2/src/win32/map.c in rugged-0.21.4 vs vendor/libgit2/src/win32/map.c in rugged-0.22.0b1

- old
+ new

@@ -21,12 +21,13 @@ } return page_size; } -long git__page_size(void) +int git__page_size(size_t *page_size) { - return (long)get_page_size(); + *page_size = get_page_size(); + return 0; } int p_mmap(git_map *out, size_t len, int prot, int flags, int fd, git_off_t offset) { HANDLE fh = (HANDLE)_get_osfhandle(fd);