fusion: Fix alignment in parse_clr_metadata.

This commit is contained in:
Hans Leidekker 2013-05-06 10:07:00 +02:00 committed by Alexandre Julliard
parent 4c4c661bc0
commit aca88c2f80
1 changed files with 1 additions and 2 deletions

View File

@ -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;