mirror of
https://github.com/espressif/openthread.git
synced 2026-08-25 11:49:51 +00:00
Fix compiler warnings in unit tests. (#488)
This commit is contained in:
@@ -36,7 +36,7 @@ extern"C" void otSignalTaskletPending(void)
|
||||
{
|
||||
}
|
||||
|
||||
extern "C" void otPlatDiagAlarmFired()
|
||||
extern "C" void otPlatDiagAlarmFired(void)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ void TestMessage(void)
|
||||
|
||||
for (unsigned i = 0; i < sizeof(writeBuffer); i++)
|
||||
{
|
||||
writeBuffer[i] = random();
|
||||
writeBuffer[i] = static_cast<uint8_t>(random());
|
||||
}
|
||||
|
||||
VerifyOrQuit((message = Thread::Message::New(Thread::Message::kTypeIp6, 0)) != NULL,
|
||||
|
||||
Reference in New Issue
Block a user