[sanitizer] Fix off type in mmap64 interceptor
authorVitaly Buka <vitalybuka@google.com>
Thu, 15 Mar 2018 01:13:29 +0000 (01:13 +0000)
committerVitaly Buka <vitalybuka@google.com>
Thu, 15 Mar 2018 01:13:29 +0000 (01:13 +0000)
llvm-svn: 327596

compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc

index af6c09d..b45e099 100644 (file)
@@ -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);