[test] fix check error, cast non-trivial class pointer to void * (#4579)
[test] fix check error, cast non-trivial class pointer to void * (#4579)


bukepo/openthread,lanyuwen/openthread,librasungirl/openthread,lanyuwen/openthread,srickardti/openthread,abtink/openthread,jwhui/openthread,librasungirl/openthread,openthread/openthread,abtink/openthread,chshu/openthread,bukepo/openthread,lanyuwen/openthread,lanyuwen/openthread,openthread/openthread,librasungirl/openthread,librasungirl/openthread,bukepo/openthread,srickardti/openthread,openthread/openthread,srickardti/openthread,jwhui/openthread,chshu/openthread,openthread/openthread,lanyuwen/openthread,chshu/openthread,srickardti/openthread,chshu/openthread,abtink/openthread,bukepo/openthread,chshu/openthread,abtink/openthread,chshu/openthread,jwhui/openthread,jwhui/openthread,lanyuwen/openthread