[asan] Fix build.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Tue, 29 Oct 2013 18:29:39 +0000 (18:29 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Tue, 29 Oct 2013 18:29:39 +0000 (18:29 +0000)
llvm-svn: 193635

compiler-rt/lib/asan/asan_interceptors.cc

index da0b8ef..0dfc9f0 100644 (file)
@@ -140,13 +140,13 @@ DECLARE_REAL_AND_INTERCEPTOR(void, free, void *)
 #define COMMON_SYSCALL_PRE_WRITE_RANGE(p, s) ASAN_WRITE_RANGE(p, s)
 #define COMMON_SYSCALL_POST_READ_RANGE(p, s) \
   do {                                       \
-    (void)p;                                 \
-    (void)s;                                 \
+    (void)(p);                               \
+    (void)(s);                               \
   } while (false)
 #define COMMON_SYSCALL_POST_WRITE_RANGE(p, s) \
   do {                                        \
-    (void)p;                                 \
-    (void)s;                                 \
+    (void)(p);                                \
+    (void)(s);                                \
   } while (false)
 #include "sanitizer_common/sanitizer_common_syscalls.inc"