refs #452, MS review

https://dev.vatsim-germany.org/issues/452#note-5
This commit is contained in:
Klaus Basan
2015-09-28 22:46:42 +02:00
committed by Mathew Sutcliffe
parent e033cfacfd
commit 3ed2068ff5
11 changed files with 20 additions and 19 deletions

View File

@@ -381,7 +381,8 @@ QString BlackMisc::bytesToHexString(const QByteArray &bytes)
QString h;
for (int i = 0; i < bytes.size(); i++)
{
h.append(static_cast<int>(bytes.at(i)));
int b = static_cast<int>(bytes.at(i));
h.append(intToHex(b, 2));
}
return h;
}