Fix compilation errors and warnings

This commit is contained in:
Jérôme Leclercq
2021-07-07 22:16:22 +02:00
parent 1f6937ab1b
commit 309fd547e1
14 changed files with 38 additions and 30 deletions

View File

@@ -330,7 +330,7 @@ namespace Nz
if (value > 65535) // must be 16 bit quantity
return false;
*(resultPtr++) = value >> 8;
*(resultPtr++) = static_cast<UInt8>(value >> 8);
*(resultPtr++) = value & 0xFF;
if (*addressPtr == ':') // typical case inside; carry on