diff options
author | Peter Åstrand <astrand@cendio.se> | 2008-12-11 08:27:52 +0000 |
---|---|---|
committer | Peter Åstrand <astrand@cendio.se> | 2008-12-11 08:27:52 +0000 |
commit | 7eb594a1f1dddee252e025bdf980c1eb5e40e79a (patch) | |
tree | 624313db03c8852696c97d83c812f94b02d33284 /win | |
parent | 2dd9eea6ff3047bb1417467d235579d92d0c1e79 (diff) | |
download | tigervnc-7eb594a1f1dddee252e025bdf980c1eb5e40e79a.tar.gz tigervnc-7eb594a1f1dddee252e025bdf980c1eb5e40e79a.zip |
Explicit cast of -1 to UINT, to silence GCC warnings, but still adhere
to the strange win32 API.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3376 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win')
-rw-r--r-- | win/vncviewer/CConn.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/vncviewer/CConn.cxx b/win/vncviewer/CConn.cxx index 74d68188..1f4bbc2b 100644 --- a/win/vncviewer/CConn.cxx +++ b/win/vncviewer/CConn.cxx @@ -436,7 +436,7 @@ CConn::setColourMapEntries(int first, int count, U16* rgbs) { void CConn::bell() { if (options.acceptBell) - MessageBeep(-1); + MessageBeep((UINT)-1); } |