]> granicus.if.org Git - yasm/commitdiff
Make sure objfmt_coff->win64 gets set to 0 in win32 mode.
authorPeter Johnson <peter@tortall.net>
Sat, 2 Jun 2007 08:34:40 +0000 (08:34 -0000)
committerPeter Johnson <peter@tortall.net>
Sat, 2 Jun 2007 08:34:40 +0000 (08:34 -0000)
svn path=/trunk/yasm/; revision=1873

modules/objfmts/coff/coff-objfmt.c

index ae3ee08cb4feab6852fd3b88763db72146682428..bd856140296fc331dd0bc817d7c21e7b63cb43c5 100644 (file)
@@ -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;