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
diff --git a/common/rfb/CMsgHandler.cxx b/common/rfb/CMsgHandler.cxx
index 65e96f3..de99abd 100644
--- a/common/rfb/CMsgHandler.cxx
+++ b/common/rfb/CMsgHandler.cxx
@@ -44,7 +44,7 @@
{
cp.supportsSetDesktopSize = true;
- if ((reason == reasonClient) && (result != resultSuccess))
+ if ((reason == (signed)reasonClient) && (result != (signed)resultSuccess))
return;
if (!layout.validate(width, height))