aboutsummaryrefslogtreecommitdiffstats
path: root/tests/notnull_tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/notnull_tests.cpp')
-rw-r--r--tests/notnull_tests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/notnull_tests.cpp b/tests/notnull_tests.cpp
index ce5a123..010dd00 100644
--- a/tests/notnull_tests.cpp
+++ b/tests/notnull_tests.cpp
@@ -234,8 +234,8 @@ void ostream_helper(T v)
{
std::ostringstream os;
std::ostringstream ref;
- os << p;
- ref << &v;
+ os << static_cast<void*>(p);
+ ref << static_cast<void*>(&v);
CHECK(os.str() == ref.str());
}
{