cryptui: Fixed bad sizeof() (Coverity).

This commit is contained in:
Marcus Meissner 2011-02-23 05:30:38 +01:00 committed by Alexandre Julliard
parent b42c593f67
commit ab138e9c58
1 changed files with 1 additions and 1 deletions

View File

@ -1637,7 +1637,7 @@ HCERTSTORE WINAPI CryptUIDlgSelectStoreA(PCRYPTUI_SELECTSTORE_INFO_A info)
SetLastError(E_INVALIDARG);
return NULL;
}
memcpy(&infoW, &info, sizeof(info));
memcpy(&infoW, info, sizeof(*info));
if (info->pszTitle)
{
len = MultiByteToWideChar(CP_ACP, 0, info->pszTitle, -1, NULL, 0);