commit | 6d929061c36e7929c61c8e6331315b86fe86976f | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Sat Dec 21 02:47:01 2013 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Sat Dec 21 02:47:01 2013 +0000 |
tree | 08030722b289d6a7082d807d1785086cca3bad68 | |
parent | 3fdb735590ed642420608dd7095c06de89d852b5 [diff] | |
parent | 5b395ce071f2c96b8243926f26df3911ebb226e0 [diff] |
Merge "Fix MIPS build."
diff --git a/libc/bionic/mmap.cpp b/libc/bionic/mmap.cpp index 75bea58..84a0f76 100644 --- a/libc/bionic/mmap.cpp +++ b/libc/bionic/mmap.cpp
@@ -55,5 +55,5 @@ } void* mmap(void* addr, size_t size, int prot, int flags, int fd, off_t offset) { - return mmap64(addr, size, prot, flags, fd, static_cast<off64_t>(offset)); + return mmap64(addr, size, prot, flags, fd, static_cast<off64_t>(offset) & 0xffffffff); }