diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-05-22 13:00:38 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-08-14 14:59:58 +0000 |
commit | f2862b4d5def2c07b8b018532ab74a12b129db2c (patch) | |
tree | dbb6c783e94124dd4d064261b1577d69b8e23c3b /config.tests | |
parent | 43f5377fad3f462a033d836fd71a6eb356462c11 (diff) |
VNC plugin: explicitly cast int to uint16_t before calling htons
Otherwise there is a -Werror=narrowing error on big-endian
architectures (where htons does nothing).
Task-number: QTBUG-68390
Change-Id: Idb204a81aaedb9f4fde1d5fae406da36c7a1953e
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry-picked from b206d1c8082a9e01ad3755d311a4cf683ec35161)
Diffstat (limited to 'config.tests')
0 files changed, 0 insertions, 0 deletions