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>
bb10
Mårten Nordheim 2020-11-23 17:00:57 +01:00
parent ffea715605
commit fecacfb032
1 changed files with 1 additions and 1 deletions

View File

@ -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)