From 8b0434e5e6eb0f8588d97ba7a64d001e50f475f9 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 5 Mar 2018 11:15:32 -0300 Subject: [PATCH] both 'fTransfer' and 'nTransfer' may not fit in a 'char' --- lua.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lua.h b/lua.h index b988a754..5183459f 100644 --- a/lua.h +++ b/lua.h @@ -1,5 +1,5 @@ /* -** $Id: lua.h,v 1.342 2018/02/25 12:48:16 roberto Exp roberto $ +** $Id: lua.h,v 1.343 2018/03/02 16:30:47 roberto Exp roberto $ ** Lua - A Scripting Language ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) ** See Copyright Notice at the end of this file @@ -459,10 +459,10 @@ struct lua_Debug { int lastlinedefined; /* (S) */ unsigned char nups; /* (u) number of upvalues */ unsigned char nparams;/* (u) number of parameters */ - unsigned char fTransfer;/* (r) index of first value transfered */ - unsigned char nTransfer; /* (r) number of transfered values */ char isvararg; /* (u) */ char istailcall; /* (t) */ + unsigned short fTransfer;/* (r) index of first value transfered */ + unsigned short nTransfer; /* (r) number of transfered values */ char short_src[LUA_IDSIZE]; /* (S) */ /* private part */ struct CallInfo *i_ci; /* active function */