diff options
author | Peter Åstrand <astrand@cendio.se> | 2008-12-09 12:31:24 +0000 |
---|---|---|
committer | Peter Åstrand <astrand@cendio.se> | 2008-12-09 12:31:24 +0000 |
commit | 2aafb33fed7d4b4ec994ec357b9d6dc8ee0e7bea (patch) | |
tree | 78be5995afbab9c4352fa19ee3c793d415e08a73 /win/rfb_win32 | |
parent | 8ebd542124a6172336b8955f7f969dd99a06c515 (diff) | |
download | tigervnc-2aafb33fed7d4b4ec994ec357b9d6dc8ee0e7bea.tar.gz tigervnc-2aafb33fed7d4b4ec994ec357b9d6dc8ee0e7bea.zip |
Corrected invalid conversion from `void*' to `_SECURITY_DESCRIPTOR*':
A SecurityDescriptorPtr is not a PSECURITY_DESCRIPTOR.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3341 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win/rfb_win32')
-rw-r--r-- | win/rfb_win32/Security.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rfb_win32/Security.cxx b/win/rfb_win32/Security.cxx index b8887a98..95ef1d8a 100644 --- a/win/rfb_win32/Security.cxx +++ b/win/rfb_win32/Security.cxx @@ -186,7 +186,7 @@ PSECURITY_DESCRIPTOR rfb::win32::CreateSdWithDacl(const PACL dacl) { throw rdr::SystemException("SetSecurityDescriptorDacl", GetLastError()); DWORD sdSize = GetSecurityDescriptorLength(&absSD); SecurityDescriptorPtr sd(sdSize); - if (!MakeSelfRelativeSD(&absSD, sd, &sdSize)) + if (!MakeSelfRelativeSD(&absSD, (PSECURITY_DESCRIPTOR)sd.ptr, &sdSize)) throw rdr::SystemException("MakeSelfRelativeSD", GetLastError()); return sd.takeSD(); } |