Commit aca88c2f authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

fusion: Fix alignment in parse_clr_metadata.

parent 4c4c661b
......@@ -595,8 +595,7 @@ static HRESULT parse_clr_metadata(ASSEMBLY *assembly)
else if (!lstrcmpA(stream, "#Blob") || !lstrcmpA(stream, "Blob"))
assembly->blobs = assembly_data_offset(assembly, ofs);
ptr += lstrlenA(stream) + 1;
ptr = (BYTE *)(((UINT_PTR)ptr + 3) & ~3); /* align on DWORD boundary */
ptr += ((lstrlenA(stream) + 1) + 3) & ~3; /* align on DWORD boundary */
}
return S_OK;
......
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