Debugger: Fix MSVC warning

signed/unsigned comparison.

Change-Id: I5fab0ccadbeb8c034410169bb6a3b4439e3f7516
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Orgad Shaneh
2022-03-24 12:43:47 +02:00
committed by Orgad Shaneh
parent 3935c671dd
commit 38462c8f13

View File

@@ -253,7 +253,7 @@ public:
{
const QByteArray ba = QByteArray::fromHex(rawData.toUtf8());
const auto p = (const T*)ba.data();
for (int i = 0, n = ba.size() / sizeof(T); i < n; ++i) {
for (int i = 0, n = int(ba.size() / sizeof(T)); i < n; ++i) {
auto child = new WatchItem;
child->arrayIndex = i;
child->value = decodeItemHelper(p[i]);