summaryrefslogtreecommitdiffstats
path: root/examples/network/torrent/torrentserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network/torrent/torrentserver.cpp')
-rw-r--r--examples/network/torrent/torrentserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/torrent/torrentserver.cpp b/examples/network/torrent/torrentserver.cpp
index b9f76c40f8..ecc7ba098c 100644
--- a/examples/network/torrent/torrentserver.cpp
+++ b/examples/network/torrent/torrentserver.cpp
@@ -61,7 +61,7 @@ void TorrentServer::removeClient(TorrentClient *client)
clients.removeAll(client);
}
-void TorrentServer::incomingConnection(int socketDescriptor)
+void TorrentServer::incomingConnection(qintptr socketDescriptor)
{
PeerWireClient *client =
new PeerWireClient(ConnectionManager::instance()->clientId(), this);