forked from qt-creator/qt-creator
Debugger: Fix MSVC warning
signed/unsigned comparison. Change-Id: I5fab0ccadbeb8c034410169bb6a3b4439e3f7516 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
3935c671dd
commit
38462c8f13
@@ -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]);
|
||||
|
Reference in New Issue
Block a user