mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 05:25:48 +00:00
[APPHELP_APITEST] Fix a Clang-Cl warning about a memcmp() call
"warning: argument to 'sizeof' in 'memcmp' call is the same pointer type 'SDBQUERYRESULT_VISTA *' (aka 'struct tagSDBQUERYRESULT_VISTA *') as the destination; expected 'SDBQUERYRESULT_VISTA' (aka 'struct tagSDBQUERYRESULT_VISTA') or an explicit length [-Wsizeof-pointer-memaccess]" CORE-14306
This commit is contained in:
parent
601871955f
commit
84a9284a3f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue