Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
f852d98e
Commit
f852d98e
authored
Nov 16, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Nov 16, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32/tests: Fix some test failures on 64bit systems.
parent
7caa61fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
eventlog.c
dlls/advapi32/tests/eventlog.c
+2
-2
No files found.
dlls/advapi32/tests/eventlog.c
View file @
f852d98e
...
...
@@ -870,7 +870,7 @@ static void test_readwrite(void)
/* We are already DWORD aligned, there should still be some padding */
if
((((
UINT_PTR
)
buf
+
calculated_sidoffset
)
%
sizeof
(
DWORD
))
==
0
)
ok
(
*
(
DWORD
_PTR
*
)((
BYTE
*
)
buf
+
calculated_sidoffset
)
==
0
,
"Expected 0
\n
"
);
ok
(
*
(
DWORD
*
)((
BYTE
*
)
buf
+
calculated_sidoffset
)
==
0
,
"Expected 0
\n
"
);
ok
((((
UINT_PTR
)
buf
+
record
->
UserSidOffset
)
%
sizeof
(
DWORD
))
==
0
,
"Expected DWORD alignment
\n
"
);
}
...
...
@@ -894,7 +894,7 @@ static void test_readwrite(void)
ptr
+=
lstrlenA
(
ptr
)
+
1
;
}
ok
(
record
->
Length
==
*
(
DWORD
_PTR
*
)((
BYTE
*
)
buf
+
record
->
Length
-
sizeof
(
DWORD
)),
ok
(
record
->
Length
==
*
(
DWORD
*
)((
BYTE
*
)
buf
+
record
->
Length
-
sizeof
(
DWORD
)),
"Expected the closing DWORD to contain the length of the record
\n
"
);
HeapFree
(
GetProcessHeap
(),
0
,
buf
);
...
...
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