aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/CurrentUser.cxx
diff options
context:
space:
mode:
authorDRC <dcommander@users.sourceforge.net>2010-05-20 07:44:49 +0000
committerDRC <dcommander@users.sourceforge.net>2010-05-20 07:44:49 +0000
commitc75dc44cea1877d8ec3783fb5201a2ba0f4a8d83 (patch)
tree8d5469ef4e7e7693b28c4b44cb4b57a211d0b152 /win/rfb_win32/CurrentUser.cxx
parentc2d87605543e09cad3269ffbafed17759f137ed4 (diff)
downloadtigervnc-c75dc44cea1877d8ec3783fb5201a2ba0f4a8d83.tar.gz
tigervnc-c75dc44cea1877d8ec3783fb5201a2ba0f4a8d83.zip
Fix 64-bit Windows issues
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4061 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win/rfb_win32/CurrentUser.cxx')
-rw-r--r--win/rfb_win32/CurrentUser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rfb_win32/CurrentUser.cxx b/win/rfb_win32/CurrentUser.cxx
index 7562d29b..21531de8 100644
--- a/win/rfb_win32/CurrentUser.cxx
+++ b/win/rfb_win32/CurrentUser.cxx
@@ -98,7 +98,7 @@ CurrentUserToken::CurrentUserToken() : isSafe_(false) {
// Try to find the Shell Tray Icon window and take its token
// NB: This will only work under NT/2K (and later, but they're dealt with above)
// NB: If the shell is not running then this will return an Unsafe Null token.
- EnumDesktops(GetProcessWindowStation(), enumDesktops, (LONG)&h);
+ EnumDesktops(GetProcessWindowStation(), enumDesktops, (LPARAM)&h);
isSafe_ = (h != 0);
} else {
// Try to open the security token for the User-Mode process