From 234cb02343f8eb6c746479840bf72ca2f450d86a Mon Sep 17 00:00:00 2001 From: David Schleef Date: Tue, 31 May 2011 19:36:36 -0700 Subject: [PATCH] x86insn: fix msvc error --- orc/orcx86insn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orc/orcx86insn.c b/orc/orcx86insn.c index 44e1fd4..9611f99 100644 --- a/orc/orcx86insn.c +++ b/orc/orcx86insn.c @@ -516,7 +516,7 @@ orc_x86_insn_output_asm (OrcCompiler *p, OrcX86Insn *xinsn) } orc_uint8 nop_codes[][16] = { - { }, + { 0 /* MSVC wants something here */ }, { 0x90 }, { 0x66, 0x90 }, /* xchg %ax,%ax */ { 0x0f, 0x1f, 0x00 }, /* nopl (%rax) */ -- 2.7.4