summaryrefslogtreecommitdiffstats
path: root/win/rfb_win32
diff options
context:
space:
mode:
authorPeter Åstrand <astrand@cendio.se>2010-02-10 10:13:24 +0000
committerPeter Åstrand <astrand@cendio.se>2010-02-10 10:13:24 +0000
commitaf2b2776cb2af909ec7ec659e66ed8133a302916 (patch)
treeb858eaef4dfeb3d4e70ab44758d89c79aebe19df /win/rfb_win32
parent29aba9e189fe8fa23cf052886af46d9fd8665f96 (diff)
downloadtigervnc-af2b2776cb2af909ec7ec659e66ed8133a302916.tar.gz
tigervnc-af2b2776cb2af909ec7ec659e66ed8133a302916.zip
Eliminated timerId signed/unsigned warnings.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3976 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win/rfb_win32')
-rw-r--r--win/rfb_win32/SDisplayCorePolling.cxx2
-rw-r--r--win/rfb_win32/SDisplayCorePolling.h2
-rw-r--r--win/rfb_win32/SDisplayCoreWMHooks.cxx4
-rw-r--r--win/rfb_win32/SDisplayCoreWMHooks.h4
4 files changed, 6 insertions, 6 deletions
diff --git a/win/rfb_win32/SDisplayCorePolling.cxx b/win/rfb_win32/SDisplayCorePolling.cxx
index 349b3d59..28f3e44b 100644
--- a/win/rfb_win32/SDisplayCorePolling.cxx
+++ b/win/rfb_win32/SDisplayCorePolling.cxx
@@ -29,7 +29,7 @@ static LogWriter vlog("SDisplayCorePolling");
const int POLLING_SEGMENTS = 16;
-const int SDisplayCorePolling::pollTimerId = 1;
+const unsigned int SDisplayCorePolling::pollTimerId = 1;
SDisplayCorePolling::SDisplayCorePolling(SDisplay* d, UpdateTracker* ut, int pollInterval_)
: MsgWindow(_T("rfb::win32::SDisplayCorePolling")),
diff --git a/win/rfb_win32/SDisplayCorePolling.h b/win/rfb_win32/SDisplayCorePolling.h
index 526cae76..9a8bc29b 100644
--- a/win/rfb_win32/SDisplayCorePolling.h
+++ b/win/rfb_win32/SDisplayCorePolling.h
@@ -57,7 +57,7 @@ namespace rfb {
// - Background full screen polling fields
IntervalTimer pollTimer;
- static const int pollTimerId;
+ static const unsigned int pollTimerId;
Rect screenRect;
int pollInterval;
int pollNextY;
diff --git a/win/rfb_win32/SDisplayCoreWMHooks.cxx b/win/rfb_win32/SDisplayCoreWMHooks.cxx
index 10b88e08..bf64ba1c 100644
--- a/win/rfb_win32/SDisplayCoreWMHooks.cxx
+++ b/win/rfb_win32/SDisplayCoreWMHooks.cxx
@@ -26,8 +26,8 @@ using namespace rfb::win32;
static LogWriter vlog("SDisplayCoreWMHooks");
-const int SDisplayCoreWMHooks::cursorTimerId = 2;
-const int SDisplayCoreWMHooks::consolePollTimerId = 3;
+const unsigned int SDisplayCoreWMHooks::cursorTimerId = 2;
+const unsigned int SDisplayCoreWMHooks::consolePollTimerId = 3;
SDisplayCoreWMHooks::SDisplayCoreWMHooks(SDisplay* d, UpdateTracker* ut)
diff --git a/win/rfb_win32/SDisplayCoreWMHooks.h b/win/rfb_win32/SDisplayCoreWMHooks.h
index 24fa5cdc..82557f13 100644
--- a/win/rfb_win32/SDisplayCoreWMHooks.h
+++ b/win/rfb_win32/SDisplayCoreWMHooks.h
@@ -58,8 +58,8 @@ namespace rfb {
IntervalTimer cursorTimer;
IntervalTimer consolePollTimer;
bool pollConsoles;
- static const int consolePollTimerId;
- static const int cursorTimerId;
+ static const unsigned int consolePollTimerId;
+ static const unsigned int cursorTimerId;
};
};