diff options
Diffstat (limited to 'src/server/net/client.cpp')
-rw-r--r-- | src/server/net/client.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/net/client.cpp b/src/server/net/client.cpp index 26c1dd2..d6002a6 100644 --- a/src/server/net/client.cpp +++ b/src/server/net/client.cpp @@ -16,7 +16,7 @@ #define CHALLENGE_LEN 20 -ClientId Client::_clientIdCounter = 0; +int Client::_clientIdCounter = 0; Client::Client(QSslSocket* socket) : _socket(socket), _authed(0), _timerDelete(0), _desiredProjectionSource(0), _isProjectionSource(false), @@ -198,12 +198,12 @@ void Client::handleMsg() { // Client tells us that it started or stopped displaying a remote screen via VNC _activeVncClient = (_fromClient.getFieldString("ENABLED").toInt() != 0); - const ClientId other = (ClientId)_fromClient.getFieldString("CLIENTID").toInt(); + const int other = (int)_fromClient.getFieldString("CLIENTID").toInt(); if (!_activeVncClient && other == 0) _desiredProjectionSource = 0; - ClientId last = _currentProjectionSource; + int last = _currentProjectionSource; if (!_activeVncClient) _currentProjectionSource = 0; else |