mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 12:59:55 +00:00
winebuild: Enforce header size alignment when outputting resources.
This commit is contained in:
parent
cc8eb6b775
commit
2189b101de
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue