diff options
-rw-r--r-- | compiler-rt/lib/sanitizer_common/tests/sanitizer_bitvector_test.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/lib/sanitizer_common/tests/sanitizer_bitvector_test.cpp b/compiler-rt/lib/sanitizer_common/tests/sanitizer_bitvector_test.cpp index d6e61485738..670e96552c6 100644 --- a/compiler-rt/lib/sanitizer_common/tests/sanitizer_bitvector_test.cpp +++ b/compiler-rt/lib/sanitizer_common/tests/sanitizer_bitvector_test.cpp @@ -68,7 +68,11 @@ void Print(const BV &bv) { void Print(const set<uptr> &s) { for (set<uptr>::iterator it = s.begin(); it != s.end(); ++it) { +#if defined(_WIN64) + fprintf(stderr, "%llu ", *it); +#else fprintf(stderr, "%lu ", *it); +#endif } fprintf(stderr, "\n"); } |