diff options
Diffstat (limited to 'Windows/Security.h')
-rwxr-xr-x | Windows/Security.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Windows/Security.h b/Windows/Security.h index 929986d8..ded31b74 100755 --- a/Windows/Security.h +++ b/Windows/Security.h @@ -158,7 +158,7 @@ public: { return AddAccountRights(accountSid, userRights, 1); } NTSTATUS RemoveAccountRights(PSID accountSid, bool allRights, PLSA_UNICODE_STRING userRights, ULONG countOfRights) - { return LsaRemoveAccountRights(_handle, accountSid, BoolToBOOL(allRights), userRights, countOfRights); } + { return LsaRemoveAccountRights(_handle, accountSid, (BOOLEAN)(allRights ? TRUE : FALSE), userRights, countOfRights); } }; bool AddLockMemoryPrivilege(); |