diff options
| author | Vitaly Buka <vitalybuka@google.com> | 2018-03-15 01:13:29 +0000 |
|---|---|---|
| committer | Vitaly Buka <vitalybuka@google.com> | 2018-03-15 01:13:29 +0000 |
| commit | f6d8da1425289411515f680d9f850189819692d2 (patch) | |
| tree | efceeadc148274e1c0e58e1c33aa51406015f3e4 | |
| parent | 9a5466fd9a5ff6eca81b237073c2155995df2639 (diff) | |
| download | bcm5719-llvm-f6d8da1425289411515f680d9f850189819692d2.tar.gz bcm5719-llvm-f6d8da1425289411515f680d9f850189819692d2.zip | |
[sanitizer] Fix off type in mmap64 interceptor
llvm-svn: 327596
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc b/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc index af6c09dcb36..b45e0994e0d 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc +++ b/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc @@ -6887,7 +6887,7 @@ INTERCEPTOR(void *, mmap, void *addr, SIZE_T sz, int prot, int flags, int fd, #if SANITIZER_INTERCEPT_MMAP64 INTERCEPTOR(void *, mmap64, void *addr, SIZE_T sz, int prot, int flags, int fd, - OFF_T off) { + OFF64_T off) { void *ctx; if (COMMON_INTERCEPTOR_NOTHING_IS_INITIALIZED) return (void *)internal_mmap(addr, sz, prot, flags, fd, off); |

