Fix size_t / int conversion warnings in qmake
Fixes qtbase\qmake\generators\makefiledeps.cpp(985): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data qtbase\qmake\generators\makefiledeps.cpp(986): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data Pick-to: 6.2 Change-Id: I7c6b4f36dc383db420c10d674666d58dbf29d2dd Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
6b025f9b27
commit
69c38b4fd0
@ -982,8 +982,8 @@ bool QMakeSourceFileInfo::findMocs(SourceFile *file)
|
|||||||
debug_msg(2, "Mocgen: %s:%d Found \"q%s%s\"",
|
debug_msg(2, "Mocgen: %s:%d Found \"q%s%s\"",
|
||||||
file->file.real().toLatin1().constData(), line_count,
|
file->file.real().toLatin1().constData(), line_count,
|
||||||
tag, keyword);
|
tag, keyword);
|
||||||
x += strlen(tag);
|
x += static_cast<int>(strlen(tag));
|
||||||
x += strlen(keyword);
|
x += static_cast<int>(strlen(keyword));
|
||||||
ignore[interest] = true;
|
ignore[interest] = true;
|
||||||
}
|
}
|
||||||
++interest;
|
++interest;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user