mirror of
https://github.com/espressif/openthread.git
synced 2026-08-20 17:39:51 +00:00
Fix compiler warnings in unit tests. (#488)
This commit is contained in:
@@ -110,7 +110,7 @@ void DumpBuffer(const char *aTextMessage, uint8_t *aBuffer, uint16_t aBufferLeng
|
||||
{
|
||||
byte = *aBuffer++;
|
||||
printf("%02X ", byte);
|
||||
charBuff[counter] = isprint(byte) ? byte : '.';
|
||||
charBuff[counter] = isprint(byte) ? static_cast<char>(byte) : '.';
|
||||
counter++;
|
||||
|
||||
if (counter == kBytesPerLine)
|
||||
|
||||
Reference in New Issue
Block a user