winebuild: Enforce header size alignment when outputting resources.

This commit is contained in:
Alexandre Julliard 2009-06-23 13:25:50 +02:00
parent cc8eb6b775
commit 2189b101de

View file

@ -577,7 +577,7 @@ void output_res_o_file( DLLSPEC *spec )
unsigned int header_size = get_resource_header_size( &spec->resources[i] );
put_dword( spec->resources[i].data_size );
put_dword( header_size );
put_dword( (header_size + 3) & ~3 );
put_string( &spec->resources[i].type );
put_string( &spec->resources[i].name );
if ((unsigned long)file_out_pos & 2) put_word( 0 );