Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d7fb376d
Commit
d7fb376d
authored
Jan 27, 2014
by
André Hentschel
Committed by
Alexandre Julliard
Jan 29, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Use boolean return values in boolean functions.
parent
b3003257
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
sec.c
dlls/ntdll/sec.c
+4
-4
No files found.
dlls/ntdll/sec.c
View file @
d7fb376d
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment