diff --git a/src/gui/src/ZeroconfServer.cpp b/src/gui/src/ZeroconfServer.cpp index d3d98518..e4d6dfd8 100644 --- a/src/gui/src/ZeroconfServer.cpp +++ b/src/gui/src/ZeroconfServer.cpp @@ -25,7 +25,7 @@ ZeroconfServer::ZeroconfServer(QObject* parent) : { } -void ZeroconfServer::incomingConnection(int socketDescriptor) +void ZeroconfServer::incomingConnection(qintptr socketDescriptor) { ZeroconfThread* thread = new ZeroconfThread(socketDescriptor, this); connect(thread, SIGNAL(finished()), thread, SLOT(deleteLater())); diff --git a/src/gui/src/ZeroconfServer.h b/src/gui/src/ZeroconfServer.h index 01e713d7..2f6c6f11 100644 --- a/src/gui/src/ZeroconfServer.h +++ b/src/gui/src/ZeroconfServer.h @@ -30,7 +30,7 @@ public: ZeroconfServer(QObject* parent = 0); protected: - void incomingConnection(int socketDescriptor); + void incomingConnection(qintptr socketDescriptor) override; private: QStringList fortunes;