summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
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()