mirror of
https://github.com/reactos/wine.git
synced 2025-01-21 03:15:18 +00:00
crypt32: Use assignment instead of memcpy to copy a struct.
This commit is contained in:
parent
184f167b19
commit
ab270d433f
@ -692,8 +692,7 @@ static BOOL CRYPT_AsnDecodeArray(const struct AsnArrayDescriptor *arrayDesc,
|
||||
CryptMemAlloc(
|
||||
cItems * sizeof(struct AsnArrayItemSize));
|
||||
if (itemSizes)
|
||||
memcpy(itemSizes, &itemSize,
|
||||
sizeof(itemSize));
|
||||
*itemSizes = itemSize;
|
||||
}
|
||||
if (itemSizes)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user