aboutsummaryrefslogtreecommitdiff
path: root/lopcodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'lopcodes.h')
-rw-r--r--lopcodes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lopcodes.h b/lopcodes.h
index 9abb5152..95b46692 100644
--- a/lopcodes.h
+++ b/lopcodes.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lopcodes.h,v 1.76 2001/06/28 19:58:57 roberto Exp roberto $ 2** $Id: lopcodes.h,v 1.77 2001/07/03 17:01:34 roberto Exp roberto $
3** Opcodes for Lua virtual machine 3** Opcodes for Lua virtual machine
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -96,7 +96,7 @@ enum OpMode {iABC, iABc, iAsBc}; /* basic instruction format */
96 ((Instruction)(b)<<POS_Bc))) 96 ((Instruction)(b)<<POS_Bc)))
97 97
98#define GETARG_sBc(i) (GETARG_Bc(i)-MAXARG_sBc) 98#define GETARG_sBc(i) (GETARG_Bc(i)-MAXARG_sBc)
99#define SETARG_sBc(i,b) SETARG_Bc((i),(b)+MAXARG_sBc) 99#define SETARG_sBc(i,b) SETARG_Bc((i),(unsigned int)((b)+MAXARG_sBc))
100 100
101 101
102#define CREATE_ABC(o,a,b,c) ((Instruction)(o) \ 102#define CREATE_ABC(o,a,b,c) ((Instruction)(o) \