Core/Misc: Fix static analysis issues

(cherry picked from commit 9b7c73a19d)
This commit is contained in:
jackpoz
2017-11-11 21:06:32 +01:00
committed by Shauren
parent 1c24819741
commit 388034498f
8 changed files with 13 additions and 35 deletions

View File

@@ -172,7 +172,7 @@ void ByteBuffer::hexlike() const
for (uint32 i = 0; i < size(); ++i)
{
char buf[4];
snprintf(buf, 4, "%2X ", read<uint8>(i));
snprintf(buf, 4, "%2X", read<uint8>(i));
if ((i == (j * 8)) && ((i != (k * 16))))
{
o << "| ";