Commit ab270d43 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

crypt32: Use assignment instead of memcpy to copy a struct.

parent 184f167b
...@@ -692,8 +692,7 @@ static BOOL CRYPT_AsnDecodeArray(const struct AsnArrayDescriptor *arrayDesc, ...@@ -692,8 +692,7 @@ static BOOL CRYPT_AsnDecodeArray(const struct AsnArrayDescriptor *arrayDesc,
CryptMemAlloc( CryptMemAlloc(
cItems * sizeof(struct AsnArrayItemSize)); cItems * sizeof(struct AsnArrayItemSize));
if (itemSizes) if (itemSizes)
memcpy(itemSizes, &itemSize, *itemSizes = itemSize;
sizeof(itemSize));
} }
if (itemSizes) if (itemSizes)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment