summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2020-11-23 17:00:57 +0100
committerMårten Nordheim <marten.nordheim@qt.io>2020-12-01 14:42:53 +0100
commitfecacfb0322d9fd9160492e7670714dbb51ba042 (patch)
tree07da5e732d095cd38361f5923c7b2947744a2e60 /src/network
parentffea7156059290fce6604f870653c7ef92a333f3 (diff)
qsocks5socketengine: use qintptr when referring to socket descs
One patch from many years ago already did most of it, but the key of the hash was still int. Change-Id: I557fa19d2573addbef7557d1a16fdd6554a117cc Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/network')
-rw-r--r--src/network/socket/qsocks5socketengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/socket/qsocks5socketengine.cpp b/src/network/socket/qsocks5socketengine.cpp
index 65cbb84d79..a88931f707 100644
--- a/src/network/socket/qsocks5socketengine.cpp
+++ b/src/network/socket/qsocks5socketengine.cpp
@@ -325,7 +325,7 @@ protected:
QRecursiveMutex mutex;
int sweepTimerId = -1;
//socket descriptor, data, timestamp
- QHash<int, QSocks5BindData *> store;
+ QHash<qintptr, QSocks5BindData *> store;
};
Q_GLOBAL_STATIC(QSocks5BindStore, socks5BindStore)