diff --git a/modules/rostests/apitests/apphelp/env.c b/modules/rostests/apitests/apphelp/env.c index 2ec1a46faf0..74e7d3b5dc1 100644 --- a/modules/rostests/apitests/apphelp/env.c +++ b/modules/rostests/apitests/apphelp/env.c @@ -716,7 +716,7 @@ static void Test_Shimdata(SDBQUERYRESULT_VISTA* result, const WCHAR* szLayer) output->dwCustomSDBMap = input->dwCustomSDBMap; output->rgGuidDB[0] = input->rgGuidDB[0]; } - ok(!memcmp(&result2, result, sizeof(result)), "Expected result2 to equal result for %s\n", wine_dbgstr_w(szLayer)); + ok(!memcmp(&result2, result, sizeof(*result)), "Expected result2 to equal result for %s\n", wine_dbgstr_w(szLayer)); RtlFreeHeap(GetProcessHeap(), 0, pData); }