Author: tfaber
Date: Fri Sep 12 10:31:48 2014
New Revision: 64123
URL:
http://svn.reactos.org/svn/reactos?rev=64123&view=rev
Log:
[PSEH_TEST]
- Fix incorrect size in memcmp. Spotted by clang
Modified:
trunk/rostests/tests/pseh2/psehtest.c
Modified: trunk/rostests/tests/pseh2/psehtest.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/tests/pseh2/psehtest.c?re…
==============================================================================
--- trunk/rostests/tests/pseh2/psehtest.c [iso-8859-1] (original)
+++ trunk/rostests/tests/pseh2/psehtest.c [iso-8859-1] Fri Sep 12 10:31:48 2014
@@ -2620,7 +2620,7 @@
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;