projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cc2b4e
)
[PSEH_TEST]
author
Thomas Faber
<thomas.faber@reactos.org>
Fri, 12 Sep 2014 10:31:48 +0000
(10:31 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Fri, 12 Sep 2014 10:31:48 +0000
(10:31 +0000)
- Fix incorrect size in memcmp. Spotted by clang
svn path=/trunk/; revision=64123
rostests/tests/pseh2/psehtest.c
patch
|
blob
|
history
diff --git
a/rostests/tests/pseh2/psehtest.c
b/rostests/tests/pseh2/psehtest.c
index
4325ab2
..
dbd0e1e
100644
(file)
--- a/
rostests/tests/pseh2/psehtest.c
+++ b/
rostests/tests/pseh2/psehtest.c
@@
-2620,7
+2620,7
@@
static
DECLSPEC_NOINLINE
int sanity_check(int ret, struct volatile_context * before, struct volatile_context * after)
{
- if(ret && memcmp(before, after, sizeof(before)))
+ if(ret && memcmp(before, after, sizeof(
*
before)))
{
trace("volatile context corrupted\n");
return 0;