summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Åstrand <astrand@cendio.se>2010-02-10 07:28:25 +0000
committerPeter Åstrand <astrand@cendio.se>2010-02-10 07:28:25 +0000
commit618c1707a4d29e1d6efda633fadaaf81d1f80062 (patch)
tree50ab3aa0195d04508f57b585dab482259c1c0cba
parent145d1f8cf34479c9822c6db2c790a9400db7065c (diff)
downloadtigervnc-618c1707a4d29e1d6efda633fadaaf81d1f80062.tar.gz
tigervnc-618c1707a4d29e1d6efda633fadaaf81d1f80062.zip
Eliminate another GCC signed/unsigned warning:
* setExtendedDesktopSize reason is signed, but result codes are not. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3967 3789f03b-4d11-0410-bbf8-ca57d06f2519
-rw-r--r--common/rfb/CMsgHandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/CMsgHandler.cxx b/common/rfb/CMsgHandler.cxx
index 65e96f3f..de99abd8 100644
--- a/common/rfb/CMsgHandler.cxx
+++ b/common/rfb/CMsgHandler.cxx
@@ -44,7 +44,7 @@ void CMsgHandler::setExtendedDesktopSize(int reason, int result,
{
cp.supportsSetDesktopSize = true;
- if ((reason == reasonClient) && (result != resultSuccess))
+ if ((reason == (signed)reasonClient) && (result != (signed)resultSuccess))
return;
if (!layout.validate(width, height))