aboutsummaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
Diffstat (limited to 'win')
-rw-r--r--win/winvnc/ControlPanel.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/winvnc/ControlPanel.cxx b/win/winvnc/ControlPanel.cxx
index 59bb511a..9c850d38 100644
--- a/win/winvnc/ControlPanel.cxx
+++ b/win/winvnc/ControlPanel.cxx
@@ -147,11 +147,11 @@ void ControlPanel::SendCommand(DWORD command, int data)
ListConnStatus.Copy(&ListSelConn);
ListConnStatus.setAllStatus(data);
ListConnStatus.setDisable(isItemChecked(IDC_DISABLE_CLIENTS));
- copyData.cbData = (DWORD)&ListConnStatus;
+ copyData.cbData = (DWORD)((long long)&ListConnStatus);
} else {
ListConnStatus.Clear();
}
- copyData.cbData = (DWORD)&ListConnStatus;
+ copyData.cbData = (DWORD)((long long)&ListConnStatus);
SendMessage(m_hSTIcon, WM_COPYDATA, 0, (LPARAM)&copyData);
}