From: Peter Johnson Date: Sat, 2 Jun 2007 08:34:40 +0000 (-0000) Subject: Make sure objfmt_coff->win64 gets set to 0 in win32 mode. X-Git-Tag: v0.6.1~1^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=99a8519e636b56afce78d82d157eaf3e206396e0;p=yasm Make sure objfmt_coff->win64 gets set to 0 in win32 mode. svn path=/trunk/yasm/; revision=1873 --- 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;