From 86dd8bf3f58f118003d4b02773be08b68a5091ef Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 27 Jan 2014 11:34:32 -0200 Subject: no more 'L' in macros "luai_num*" (several places that use those macros cannot throw errors anyway...) --- lapi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lapi.c') diff --git a/lapi.c b/lapi.c index de13bd62..05640ef9 100644 --- a/lapi.c +++ b/lapi.c @@ -1,5 +1,5 @@ /* -** $Id: lapi.c,v 2.191 2013/12/04 12:15:22 roberto Exp roberto $ +** $Id: lapi.c,v 2.192 2013/12/30 20:47:58 roberto Exp roberto $ ** Lua API ** See Copyright Notice in lua.h */ @@ -389,7 +389,7 @@ LUA_API lua_Unsigned lua_tounsignedx (lua_State *L, int idx, int *pisnum) { n = -n; } n = l_mathop(fmod)(n, twop); - if (luai_numisnan(L,n)) /* not a number? */ + if (luai_numisnan(n)) /* not a number? */ break; /* not an integer, too */ res = cast_unsigned(n); if (neg) res = 0u - res; -- cgit v1.2.3-55-g6feb