mirror of
https://github.com/espressif/openthread.git
synced 2026-07-26 22:09:05 +00:00
[windows] fix warnings (#3435)
This commit is contained in:
@@ -142,7 +142,7 @@ int8_t GetRandomRss(void)
|
||||
uint32_t value;
|
||||
|
||||
value = otPlatRandomGet() % 128;
|
||||
return static_cast<int8_t>(-value);
|
||||
return -static_cast<int8_t>(value);
|
||||
}
|
||||
|
||||
void TestRssAveraging(void)
|
||||
|
||||
Reference in New Issue
Block a user