summaryrefslogtreecommitdiffstats
path: root/byterun/fix_code.c
diff options
context:
space:
mode:
Diffstat (limited to 'byterun/fix_code.c')
-rw-r--r--byterun/fix_code.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/byterun/fix_code.c b/byterun/fix_code.c
index 3269aa473..20ef44ee6 100644
--- a/byterun/fix_code.c
+++ b/byterun/fix_code.c
@@ -41,10 +41,11 @@ void fixup_endianness(code, len)
#ifdef THREADED_CODE
-void thread_code(code, len, instr_table)
+void ** instr_table;
+
+void thread_code(code, len)
code_t code;
asize_t len;
- void * instr_table[];
{
code_t p;
len /= sizeof(opcode_t);
@@ -77,7 +78,7 @@ void thread_code(code, len, instr_table)
break; }
}
}
- Assert(p = code + len);
+ Assert(p == code + len);
}
#endif