Alexandre Julliard : winebuild: Align resource data to dword boundaries even on 64-bit.
Alexandre Julliard
julliard at winehq.org
Tue Feb 19 15:29:33 CST 2019
Module: wine
Branch: master
Commit: 39698f5468bd2b9e9e9fe3d10e587991238002ba
URL: https://source.winehq.org/git/wine.git/?a=commit;h=39698f5468bd2b9e9e9fe3d10e587991238002ba
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Feb 18 22:55:34 2019 +0100
winebuild: Align resource data to dword boundaries even on 64-bit.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
tools/winebuild/res32.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/winebuild/res32.c b/tools/winebuild/res32.c
index 1686f56..d237782 100644
--- a/tools/winebuild/res32.c
+++ b/tools/winebuild/res32.c
@@ -492,7 +492,7 @@ void output_resources( DLLSPEC *spec )
for (i = 0, res = spec->resources; i < spec->nb_resources; i++, res++)
{
- output( "\n\t.align %d\n", get_alignment(get_ptr_size()) );
+ output( "\n\t.align %d\n", get_alignment(4) );
output( ".L__wine_spec_res_%d:\n", i );
dump_res_data( res );
}
More information about the wine-cvs
mailing list