diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2015-08-20 16:06:53 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2015-08-21 16:33:44 +0000 |
commit | a4215384146e305095083c799ab0e287bf9e8613 (patch) | |
tree | c3bfe14118f7fc009bea3122266eb13f995d1548 /src/plugins/diffeditor/diffutils.cpp | |
parent | dc8dab3d01d5f379e48e61328ae1a9600ffacae9 (diff) | |
download | qt-creator-a4215384146e305095083c799ab0e287bf9e8613.tar.gz |
Fix bad use of port numbers.
-1 is not a valid quint16 number. It gets converted to 65535, which is
a valid port number. So, instead, use port number 0 which isn't valid
(if you try to bind to it, the OS chooses a port for you).
Found by ICC
src/plugins/android/androidrunner.cpp(150): warning #68: integer conversion resulted in a change of sign
Change-Id: I7de033f80b0e4431b7f1ffff13fc4e4f0f7af445
Reviewed-by: BogDan Vatra <bogdan@kde.org>
Diffstat (limited to 'src/plugins/diffeditor/diffutils.cpp')
0 files changed, 0 insertions, 0 deletions