Commit 2189b101 authored by Alexandre Julliard's avatar Alexandre Julliard

winebuild: Enforce header size alignment when outputting resources.

parent cc8eb6b7
......@@ -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 );
......
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