Module: wine Branch: master Commit: d7fb376db4067e25fb92ee4e8dad602808d01842 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d7fb376db4067e25fb92ee4e8d...
Author: André Hentschel nerv@dawncrow.de Date: Mon Jan 27 22:26:53 2014 +0100
ntdll: Use boolean return values in boolean functions.
---
dlls/ntdll/sec.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/ntdll/sec.c b/dlls/ntdll/sec.c index b9eeccd..b733f77 100644 --- a/dlls/ntdll/sec.c +++ b/dlls/ntdll/sec.c @@ -1145,13 +1145,13 @@ BOOLEAN WINAPI RtlFirstFreeAce( ace = (PACE_HEADER)(acl+1); for (i=0;i<acl->AceCount;i++) { if ((BYTE *)ace >= (BYTE *)acl + acl->AclSize) - return 0; + return FALSE; ace = (PACE_HEADER)(((BYTE*)ace)+ace->AceSize); } if ((BYTE *)ace >= (BYTE *)acl + acl->AclSize) - return 0; + return FALSE; *x = ace; - return 1; + return TRUE; }
/************************************************************************** @@ -1349,7 +1349,7 @@ BOOLEAN WINAPI RtlValidAcl(PACL pAcl) __EXCEPT_PAGE_FAULT { WARN("(%p): invalid pointer!\n", pAcl); - return 0; + return FALSE; } __ENDTRY return ret;