From e2b15aa21d2f31ccc93e35f50928e26a8d9c84ce Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Sun, 28 Jan 2018 13:13:26 -0200 Subject: janitor work on casts --- ldebug.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ldebug.h') diff --git a/ldebug.h b/ldebug.h index 9062f4bd..e8652d84 100644 --- a/ldebug.h +++ b/ldebug.h @@ -1,5 +1,5 @@ /* -** $Id: ldebug.h,v 2.14 2015/05/22 17:45:56 roberto Exp roberto $ +** $Id: ldebug.h,v 2.15 2017/06/27 11:35:31 roberto Exp roberto $ ** Auxiliary functions from Debug Interface module ** See Copyright Notice in lua.h */ @@ -11,7 +11,7 @@ #include "lstate.h" -#define pcRel(pc, p) (cast(int, (pc) - (p)->code) - 1) +#define pcRel(pc, p) (cast_int((pc) - (p)->code) - 1) #define resethookcount(L) (L->hookcount = L->basehookcount) -- cgit v1.2.3-55-g6feb