[PSEH_TEST]
[reactos.git] / rostests / tests / pseh2 / psehtest.c
index 4325ab2..dbd0e1e 100644 (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;