diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2019-11-25 13:17:42 +1100 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2019-11-25 13:18:17 +1100 |
commit | 7e1cc296e4c89c35b38d3637176aab2bdc4efab6 (patch) | |
tree | 5357678f4e07992f810076dde679a31195f4d691 | |
parent | f94c9276bc4bbc9779ef9abbda9db2f1cec5f863 (diff) | |
download | libgit2-7e1cc296e4c89c35b38d3637176aab2bdc4efab6.tar.gz |
mmap: remove unnecessary assertion
64 bit types are always 64 bit.
-rw-r--r-- | src/win32/map.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/win32/map.c b/src/win32/map.c index 5769cb869..dff0695d2 100644 --- a/src/win32/map.c +++ b/src/win32/map.c @@ -99,8 +99,6 @@ int p_mmap(git_map *out, size_t len, int prot, int flags, int fd, git_off_t offs return -1; } - assert(sizeof(git_off_t) == 8); - off_low = (DWORD)(page_start); off_hi = (DWORD)(page_start >> 32); out->data = MapViewOfFile(out->fmh, view_prot, off_hi, off_low, len); |