summaryrefslogtreecommitdiffstats
path: root/examples/network/network-chat/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network/network-chat/server.cpp')
-rw-r--r--examples/network/network-chat/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/network-chat/server.cpp b/examples/network/network-chat/server.cpp
index 5f545d3819..f27cfa3894 100644
--- a/examples/network/network-chat/server.cpp
+++ b/examples/network/network-chat/server.cpp
@@ -49,7 +49,7 @@ Server::Server(QObject *parent)
listen(QHostAddress::Any);
}
-void Server::incomingConnection(int socketDescriptor)
+void Server::incomingConnection(qintptr socketDescriptor)
{
Connection *connection = new Connection(this);
connection->setSocketDescriptor(socketDescriptor);