summaryrefslogtreecommitdiff
path: root/src/lua.h
diff options
context:
space:
mode:
authorLua Team <team@lua.org>2016-06-06 12:00:00 +0000
committerrepogen <>2016-06-06 12:00:00 +0000
commit7d19fe6f4d59543ce5a61b640350805064ac5652 (patch)
tree3747598941015c96562235b39419ae3fcc9a22c5 /src/lua.h
parentf65e2704f4ab323e2a4912de043a1943a95c0fd7 (diff)
downloadlua-github-5.3.3-rc3.tar.gz
Diffstat (limited to 'src/lua.h')
-rw-r--r--src/lua.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua.h b/src/lua.h
index a369a8b4..f78899fc 100644
--- a/src/lua.h
+++ b/src/lua.h
@@ -1,5 +1,5 @@
/*
-** $Id: lua.h,v 1.330 2016/01/13 17:55:19 roberto Exp $
+** $Id: lua.h,v 1.331 2016/05/30 15:53:28 roberto Exp $
** Lua - A Scripting Language
** Lua.org, PUC-Rio, Brazil (http://www.lua.org)
** See Copyright Notice at the end of this file
@@ -361,7 +361,7 @@ LUA_API void (lua_setallocf) (lua_State *L, lua_Alloc f, void *ud);
#define lua_pushliteral(L, s) lua_pushstring(L, "" s)
#define lua_pushglobaltable(L) \
- lua_rawgeti(L, LUA_REGISTRYINDEX, LUA_RIDX_GLOBALS)
+ ((void)lua_rawgeti(L, LUA_REGISTRYINDEX, LUA_RIDX_GLOBALS))
#define lua_tostring(L,i) lua_tolstring(L, (i), NULL)