mirror of
https://github.com/espressif/openthread.git
synced 2026-08-28 04:49:54 +00:00
[test] fix check error, cast non-trivial class pointer to void * (#4579)
This commit is contained in:
@@ -60,7 +60,7 @@ public:
|
||||
*/
|
||||
TestIphcVector(const char *aTestName)
|
||||
{
|
||||
memset(this, 0, sizeof(*this));
|
||||
memset(reinterpret_cast<void *>(this), 0, sizeof(TestIphcVector));
|
||||
mTestName = aTestName;
|
||||
mSrcContext.mContextId = kContextUnused;
|
||||
mDstContext.mContextId = kContextUnused;
|
||||
|
||||
Reference in New Issue
Block a user