mirror of
https://github.com/reactos/reactos.git
synced 2025-05-17 16:27:00 +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
|
DECLSPEC_NOINLINE
|
||||||
int sanity_check(int ret, struct volatile_context * before, struct volatile_context * after)
|
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");
|
trace("volatile context corrupted\n");
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue