diff options
author | Jesus Fernandez <jesus.fernandez@theqtcompany.com> | 2016-05-20 09:55:05 +0200 |
---|---|---|
committer | Jesus Fernandez <jesus.fernandez@theqtcompany.com> | 2016-05-21 19:59:06 +0000 |
commit | c18b802e337c1a58a687a0e9f1b23465c9036b0a (patch) | |
tree | fbc62b39c3b552829b2991c57889d96314c28532 /src/network/access | |
parent | d2af1d71c11ee937a6796eca0057d4052b0220af (diff) |
Fixed variable type
A port was being assigned to qint16 instead of quint16.
Change-Id: I9414e2dcca52beab1bc17ef61cfff56db8ab83a0
Reviewed-by: Edward Welbourne <edward.welbourne@theqtcompany.com>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>
Diffstat (limited to 'src/network/access')
-rw-r--r-- | src/network/access/qhttpnetworkconnectionchannel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/access/qhttpnetworkconnectionchannel.cpp b/src/network/access/qhttpnetworkconnectionchannel.cpp index f591abc28b..dfa5d0e74a 100644 --- a/src/network/access/qhttpnetworkconnectionchannel.cpp +++ b/src/network/access/qhttpnetworkconnectionchannel.cpp @@ -325,7 +325,7 @@ bool QHttpNetworkConnectionChannel::ensureConnection() priv->phase = QAuthenticatorPrivate::Start; QString connectHost = connection->d_func()->hostName; - qint16 connectPort = connection->d_func()->port; + quint16 connectPort = connection->d_func()->port; #ifndef QT_NO_NETWORKPROXY // HTTPS always use transparent proxy. |