fusion: Align the metadata header pointer on a DWORD boundary.

This commit is contained in:
James Hawkins 2008-08-18 22:55:29 -05:00 committed by Alexandre Julliard
parent dd9b0edb6f
commit cfc68a96c7
1 changed files with 2 additions and 2 deletions

View File

@ -632,8 +632,8 @@ static HRESULT parse_clr_metadata(ASSEMBLY *assembly)
else if (!lstrcmpA(stream, "#Blob") || !lstrcmpA(stream, "Blob"))
assembly->blobs = (BYTE *)assembly_data_offset(assembly, ofs);
ptr += lstrlenA(stream);
while (!*ptr) ptr++;
ptr += lstrlenA(stream) + 1;
ptr = (BYTE *)(((UINT_PTR)ptr + 3) & ~3); /* align on DWORD boundary */
}
return S_OK;