aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/CMsgHandler.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-03-03 16:27:44 +0100
committerPierre Ossman <ossman@cendio.se>2015-03-03 16:27:44 +0100
commit28c1d54937185bd983ccede4a587aa5dc9b2e5df (patch)
tree2577c5cac5e6c5c36a316ccdb586bd6868f6142d /common/rfb/CMsgHandler.cxx
parent5c23b9ed7d55a2cd5f44b8ec3da2c8bdcac5c3a5 (diff)
downloadtigervnc-28c1d54937185bd983ccede4a587aa5dc9b2e5df.tar.gz
tigervnc-28c1d54937185bd983ccede4a587aa5dc9b2e5df.zip
Switch to unsigned parameters for ExtendedDesktopSize handler
The constants used here are unsigned so it makes more sense that the parameters are as well.
Diffstat (limited to 'common/rfb/CMsgHandler.cxx')
-rw-r--r--common/rfb/CMsgHandler.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/rfb/CMsgHandler.cxx b/common/rfb/CMsgHandler.cxx
index ce8b271f..11c979a3 100644
--- a/common/rfb/CMsgHandler.cxx
+++ b/common/rfb/CMsgHandler.cxx
@@ -38,13 +38,13 @@ void CMsgHandler::setDesktopSize(int width, int height)
cp.height = height;
}
-void CMsgHandler::setExtendedDesktopSize(int reason, int result,
+void CMsgHandler::setExtendedDesktopSize(unsigned reason, unsigned result,
int width, int height,
const ScreenSet& layout)
{
cp.supportsSetDesktopSize = true;
- if ((reason == (signed)reasonClient) && (result != (signed)resultSuccess))
+ if ((reason == reasonClient) && (result != resultSuccess))
return;
if (!layout.validate(width, height))