diff options
author | Pierre Ossman <ossman@cendio.se> | 2023-01-04 16:32:54 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2023-01-05 16:43:34 +0100 |
commit | 1d1f16f4acadff7611e1a6e742f308ac61668b08 (patch) | |
tree | 1985e28adb9a4324f94388c5250a207081503815 /win/rfb_win32 | |
parent | 11b535fcc8b1c7f4c041883c7fed2ca8022db5d1 (diff) | |
download | tigervnc-1d1f16f4acadff7611e1a6e742f308ac61668b08.tar.gz tigervnc-1d1f16f4acadff7611e1a6e742f308ac61668b08.zip |
Fix incorrect types
These types caused an incorrect signed/unsigned behaviour, so let's make
sure we use the appropriate type.
Diffstat (limited to 'win/rfb_win32')
-rw-r--r-- | win/rfb_win32/RegConfig.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rfb_win32/RegConfig.cxx b/win/rfb_win32/RegConfig.cxx index 715f8097..e697e66b 100644 --- a/win/rfb_win32/RegConfig.cxx +++ b/win/rfb_win32/RegConfig.cxx @@ -108,7 +108,7 @@ bool RegConfigThread::start(const HKEY rootKey, const TCHAR* keyname) { } void RegConfigThread::worker() { - DWORD result = 0; + BOOL result = 0; MSG msg; thread_id = GetCurrentThreadId(); while ((result = eventMgr.getMessage(&msg, 0, 0, 0)) > 0) {} |