From 7afc74ff07907294a2162600023a9c61a64cdbd5 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 27 Aug 2001 12:14:57 -0300 Subject: avoid some warnings from strange compilers --- lopcodes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lopcodes.h') diff --git a/lopcodes.h b/lopcodes.h index 95b46692..1fba78f3 100644 --- a/lopcodes.h +++ b/lopcodes.h @@ -1,5 +1,5 @@ /* -** $Id: lopcodes.h,v 1.77 2001/07/03 17:01:34 roberto Exp roberto $ +** $Id: lopcodes.h,v 1.78 2001/07/24 17:19:07 roberto Exp roberto $ ** Opcodes for Lua virtual machine ** See Copyright Notice in lua.h */ @@ -213,7 +213,7 @@ enum OpModeMask { OpModeT /* operator is a test */ }; -extern const lu_byte luaP_opmodes[]; +extern const lu_byte luaP_opmodes[NUM_OPCODES]; #define getOpMode(m) ((enum OpMode)(luaP_opmodes[m] & 3)) #define testOpMode(m, b) (luaP_opmodes[m] & (1 << (b))) -- cgit v1.2.3-55-g6feb