mirror of
https://github.com/espressif/openthread.git
synced 2026-09-03 15:50:06 +00:00
[tests] add conditionals around unit tests (#3616)
This commit is contained in:
@@ -190,7 +190,7 @@ static void Test(TestIphcVector &aVector, bool aCompress, bool aDecompress)
|
||||
|
||||
if (aVector.mError == OT_ERROR_NONE)
|
||||
{
|
||||
uint8_t compressBytes = buffer.GetWritePointer() - result;
|
||||
uint8_t compressBytes = static_cast<uint8_t>(buffer.GetWritePointer() - result);
|
||||
|
||||
// Append payload to the LOWPAN_IPHC.
|
||||
message->Read(message->GetOffset(), message->GetLength() - message->GetOffset(), result + compressBytes);
|
||||
|
||||
Reference in New Issue
Block a user