diff options
author | Peter Åstrand <astrand@cendio.se> | 2008-12-09 10:57:47 +0000 |
---|---|---|
committer | Peter Åstrand <astrand@cendio.se> | 2008-12-09 10:57:47 +0000 |
commit | 2ae73a3022cb31eaebc4f9fe9e4501a97133cf92 (patch) | |
tree | 046d49e57a368ce59447f84198e86c10ec280b69 /win | |
parent | 9d8f2110c26bbc783520683ef7315e7bed8700da (diff) | |
download | tigervnc-2ae73a3022cb31eaebc4f9fe9e4501a97133cf92.tar.gz tigervnc-2ae73a3022cb31eaebc4f9fe9e4501a97133cf92.zip |
MinGW tweak: takeSD must cast result from takePtr
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3336 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win')
-rw-r--r-- | win/rfb_win32/Security.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rfb_win32/Security.h b/win/rfb_win32/Security.h index 1e2e9068..15825192 100644 --- a/win/rfb_win32/Security.h +++ b/win/rfb_win32/Security.h @@ -108,7 +108,7 @@ namespace rfb { struct SecurityDescriptorPtr : LocalMem { SecurityDescriptorPtr(int size) : LocalMem(size) {} SecurityDescriptorPtr(PSECURITY_DESCRIPTOR sd_=0) : LocalMem(sd_) {} - PSECURITY_DESCRIPTOR takeSD() {return takePtr();} + PSECURITY_DESCRIPTOR takeSD() {return (PSECURITY_DESCRIPTOR)takePtr();} }; // Create a new self-relative Security Descriptor, owned by SYSTEM/Administrators, |