From 8f961da3dbf8c45389d1431e6dff8e44e41f1a57 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 15 Apr 2014 11:29:30 -0300 Subject: macros cast_integer/cast_unsigned replaced by cast_u2s/cast_s2u, that should be used only between lua_Integer and lua_Unsigned --- lundump.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lundump.h') diff --git a/lundump.h b/lundump.h index 6b851da0..67f6b57c 100644 --- a/lundump.h +++ b/lundump.h @@ -1,5 +1,5 @@ /* -** $Id: lundump.h,v 1.41 2014/03/10 19:52:47 roberto Exp roberto $ +** $Id: lundump.h,v 1.42 2014/03/11 14:22:54 roberto Exp roberto $ ** load precompiled Lua chunks ** See Copyright Notice in lua.h */ @@ -15,7 +15,7 @@ /* data to catch conversion errors */ #define LUAC_DATA "\x19\x93\r\n\x1a\n" -#define LUAC_INT cast_integer(0xABCD) +#define LUAC_INT 0x5678 #define LUAC_NUM cast_num(370.5) #define MYINT(s) (s[0]-'0') -- cgit v1.2.3-55-g6feb