diff options
Diffstat (limited to 'examples/network/threadedfortuneserver/fortunethread.h')
-rw-r--r-- | examples/network/threadedfortuneserver/fortunethread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/network/threadedfortuneserver/fortunethread.h b/examples/network/threadedfortuneserver/fortunethread.h index e93a67a37a..7dae6f2e12 100644 --- a/examples/network/threadedfortuneserver/fortunethread.h +++ b/examples/network/threadedfortuneserver/fortunethread.h @@ -13,7 +13,7 @@ class FortuneThread : public QThread Q_OBJECT public: - FortuneThread(int socketDescriptor, const QString &fortune, QObject *parent); + FortuneThread(qintptr socketDescriptor, const QString &fortune, QObject *parent); void run() override; @@ -21,7 +21,7 @@ signals: void error(QTcpSocket::SocketError socketError); private: - int socketDescriptor; + qintptr socketDescriptor; QString text; }; //! [0] |