issue-683: fix compile error in clang with -m32 and 64-bit off_t
diff --git a/src/malloc_hook_mmap_linux.h b/src/malloc_hook_mmap_linux.h
index 8e5a3b0..0f531db 100755
--- a/src/malloc_hook_mmap_linux.h
+++ b/src/malloc_hook_mmap_linux.h
@@ -105,7 +105,7 @@
// Fall back to old 32-bit offset mmap() call
// Old syscall interface cannot handle six args, so pass in an array
int32 args[6] = { (int32) start, (int32) length, prot, flags, fd,
- (off_t) offset };
+ (int32)(off_t) offset };
result = (void *)syscall(SYS_mmap, args);
}
#else