mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 16:14:05 +01:00
Replaced old style casts (issue #28)
This commit is contained in:
@@ -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));
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user