aboutsummaryrefslogtreecommitdiff
path: root/libsanitizer/asan/asan_rtl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libsanitizer/asan/asan_rtl.cpp')
-rw-r--r--libsanitizer/asan/asan_rtl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libsanitizer/asan/asan_rtl.cpp b/libsanitizer/asan/asan_rtl.cpp
index bfaa3bc..1b150b3 100644
--- a/libsanitizer/asan/asan_rtl.cpp
+++ b/libsanitizer/asan/asan_rtl.cpp
@@ -557,7 +557,8 @@ void UnpoisonStack(uptr bottom, uptr top, const char *type) {
"False positive error reports may follow\n"
"For details see "
"https://github.com/google/sanitizers/issues/189\n",
- type, top, bottom, top - bottom, top - bottom);
+ type, (void *)top, (void *)bottom, (void *)(top - bottom),
+ top - bottom);
return;
}
PoisonShadow(bottom, RoundUpTo(top - bottom, SHADOW_GRANULARITY), 0);