Fix change-of-sign warning in the new QML compiler
authorThiago Macieira <thiago.macieira@intel.com>
Fri, 29 Nov 2013 05:38:42 +0000 (21:38 -0800)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 2 Dec 2013 23:58:15 +0000 (00:58 +0100)
commit70be4dd8a974abcda08cf050e5cec71a58306eec
treee4f85d8f87eb2cfa7bceaca1ec6aa928cfb34a63
parente02cb2b31ab0b171f11d278305d9f532f005bc80
Fix change-of-sign warning in the new QML compiler

The m_line and m_column members are of type quint16, so -1 is not
valid. BTW, aren't 65535 possible lines too few?

qqmlboundsignal.cpp(92): error #68: integer conversion resulted in a change of sign

Change-Id: I2f73c276c5fc9b6988b5fa4274f7fa3f6bb85c4b
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/qml/qqmlboundsignal.cpp