mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[PSEH_TEST]
- Fix incorrect size in memcmp. Spotted by clang svn path=/trunk/; revision=64123
This commit is contained in:
parent
9cc2b4e75c
commit
7849947ca5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue