summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-06-17 10:47:28 +0200
committerPierre Ossman <ossman@cendio.se>2015-06-17 10:47:28 +0200
commita9af1f12466e201fed5a72bbba2607fb55f7e042 (patch)
treed43ec72d10ef65cb365fa9e2fc0b16f60c25f7ce /win
parentb64dbf29aeaaa41eed47ea48e3ccfa9ae563c6f2 (diff)
downloadtigervnc-a9af1f12466e201fed5a72bbba2607fb55f7e042.tar.gz
tigervnc-a9af1f12466e201fed5a72bbba2607fb55f7e042.zip
Fix some bad signed/unsigned mismatches
Diffstat (limited to 'win')
-rw-r--r--win/rfb_win32/SInput.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rfb_win32/SInput.cxx b/win/rfb_win32/SInput.cxx
index f6345665..111a4d90 100644
--- a/win/rfb_win32/SInput.cxx
+++ b/win/rfb_win32/SInput.cxx
@@ -66,7 +66,7 @@ static DWORD buttonUpMapping[8] = {
};
static DWORD buttonDataMapping[8] = {
- 0, 0, 0, 120, -120, 0, 0, 0
+ 0, 0, 0, 120, (DWORD)-120, 0, 0, 0
};
win32::SPointer::SPointer()