Commit 285fca3d authored by Francis Dupont's avatar Francis Dupont
Browse files

[3899] Merged proposed change from #3886/sedhcpv6

parent 47445080
......@@ -327,7 +327,7 @@ OptionCustom::dataFieldToText(const OptionDataType data_type,
text << (readBoolean(index) ? "true" : "false");
break;
case OPT_INT8_TYPE:
text << readInteger<int8_t>(index);
text << static_cast<int>(readInteger<int8_t>(index));
break;
case OPT_INT16_TYPE:
text << readInteger<int16_t>(index);
......@@ -336,7 +336,7 @@ OptionCustom::dataFieldToText(const OptionDataType data_type,
text << readInteger<int32_t>(index);
break;
case OPT_UINT8_TYPE:
text << readInteger<uint8_t>(index);
text << static_cast<unsigned>(readInteger<uint8_t>(index));
break;
case OPT_UINT16_TYPE:
text << readInteger<uint16_t>(index);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment