[PSEH_TEST]

- Fix incorrect size in memcmp. Spotted by clang

svn path=/trunk/; revision=64123
This commit is contained in:
Thomas Faber 2014-09-12 10:31:48 +00:00
parent 9cc2b4e75c
commit 7849947ca5

View file

@ -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;