From 99a8519e636b56afce78d82d157eaf3e206396e0 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Sat, 2 Jun 2007 08:34:40 +0000 Subject: [PATCH] Make sure objfmt_coff->win64 gets set to 0 in win32 mode. svn path=/trunk/yasm/; revision=1873 --- modules/objfmts/coff/coff-objfmt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/objfmts/coff/coff-objfmt.c b/modules/objfmts/coff/coff-objfmt.c index ae3ee08c..bd856140 100644 --- a/modules/objfmts/coff/coff-objfmt.c +++ b/modules/objfmts/coff/coff-objfmt.c @@ -311,6 +311,7 @@ win32_objfmt_create(yasm_object *object) "x86") == 0) { objfmt_coff->machine = COFF_MACHINE_I386; objfmt_coff->objfmt.module = &yasm_win32_LTX_objfmt; + objfmt_coff->win64 = 0; } else if (yasm__strcasecmp(yasm_arch_get_machine(object->arch), "amd64") == 0) { objfmt_coff->machine = COFF_MACHINE_AMD64; -- 2.40.0