Replaced old style casts (issue #28)

This commit is contained in:
Benoit Blanchon
2014-10-10 18:44:04 +02:00
parent e725b756a6
commit dae0dc5ebb
5 changed files with 7 additions and 5 deletions

View File

@@ -72,7 +72,9 @@ namespace JsonGeneratorTests
{
value = expected;
const Printable& actual = value;
Assert::AreEqual((void*) &expected, (void*) &actual);
Assert::AreEqual(
reinterpret_cast<const void*>(&expected),
reinterpret_cast<const void*>(&actual));
}
};
}