x86insn: fix msvc error
authorDavid Schleef <ds@schleef.org>
Wed, 1 Jun 2011 02:36:36 +0000 (19:36 -0700)
committerDavid Schleef <ds@schleef.org>
Wed, 1 Jun 2011 02:36:36 +0000 (19:36 -0700)
orc/orcx86insn.c

index 44e1fd4..9611f99 100644 (file)
@@ -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) */