forked from qt-creator/qt-creator
Fix change-of-sign warning found by ICC
-1 is not a valid unsigned value. registerhandler.cpp(354): warning #68: integer conversion resulted in a change of sign return createIndex(row, col, TopLevelId); ^ Change-Id: I41935255704f19724d6cec16ea470e2f8f8a16a1 Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -284,7 +284,7 @@ unsigned int AndroidDeployStep::remoteModificationTime(const QString &fullDestin
|
||||
process.waitForFinished(-1);
|
||||
if (process.error() != QProcess::UnknownError
|
||||
|| process.exitCode() != 0)
|
||||
return -1;
|
||||
return 0;
|
||||
QByteArray output = process.readAll();
|
||||
output.replace("\r\n", "\n");
|
||||
QList<QByteArray> lines = output.split('\n');
|
||||
|
||||
Reference in New Issue
Block a user