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
a377563b
Commit
a377563b
authored
Dec 28, 2012
by
Andrew Talbot
Committed by
Alexandre Julliard
Jan 02, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Avoid signed-unsigned integer comparisons.
parent
d03b13c5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
eventlog.c
dlls/advapi32/eventlog.c
+2
-2
security.c
dlls/advapi32/security.c
+1
-1
No files found.
dlls/advapi32/eventlog.c
View file @
a377563b
...
...
@@ -651,7 +651,7 @@ BOOL WINAPI ReportEventA ( HANDLE hEventLog, WORD wType, WORD wCategory, DWORD d
{
LPWSTR
*
wideStrArray
;
UNICODE_STRING
str
;
int
i
;
UINT
i
;
BOOL
ret
;
FIXME
(
"(%p,0x%04x,0x%04x,0x%08x,%p,0x%04x,0x%08x,%p,%p): stub
\n
"
,
hEventLog
,
...
...
@@ -684,7 +684,7 @@ BOOL WINAPI ReportEventA ( HANDLE hEventLog, WORD wType, WORD wCategory, DWORD d
BOOL
WINAPI
ReportEventW
(
HANDLE
hEventLog
,
WORD
wType
,
WORD
wCategory
,
DWORD
dwEventID
,
PSID
lpUserSid
,
WORD
wNumStrings
,
DWORD
dwDataSize
,
LPCWSTR
*
lpStrings
,
LPVOID
lpRawData
)
{
int
i
;
UINT
i
;
FIXME
(
"(%p,0x%04x,0x%04x,0x%08x,%p,0x%04x,0x%08x,%p,%p): stub
\n
"
,
hEventLog
,
wType
,
wCategory
,
dwEventID
,
lpUserSid
,
wNumStrings
,
dwDataSize
,
lpStrings
,
lpRawData
);
...
...
dlls/advapi32/security.c
View file @
a377563b
...
...
@@ -4785,7 +4785,7 @@ static BOOL DumpAce(LPVOID pace, WCHAR **pwptr, ULONG *plen)
static
BOOL
DumpAcl
(
PACL
pacl
,
WCHAR
**
pwptr
,
ULONG
*
plen
,
BOOL
protected
,
BOOL
autoInheritReq
,
BOOL
autoInherited
)
{
WORD
count
;
int
i
;
UINT
i
;
if
(
protected
)
DumpString
(
SDDL_PROTECTED
,
-
1
,
pwptr
,
plen
);
...
...
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