summaryrefslogtreecommitdiff
path: root/im/src/lua5/imlua_aux.c
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2010-06-14 23:47:31 -0700
committerPixel <pixel@nobis-crew.org>2010-06-14 23:47:31 -0700
commit7c0c85a86aa73c0c495523f994f8412e377a8195 (patch)
tree29929fdc4390224b3a4f8b728d50ae5dfc3589ce /im/src/lua5/imlua_aux.c
parent5000908b9b2761854951cea3e7dad90be76ffd59 (diff)
Upgrading im to 3.6
Diffstat (limited to 'im/src/lua5/imlua_aux.c')
-rwxr-xr-xim/src/lua5/imlua_aux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/im/src/lua5/imlua_aux.c b/im/src/lua5/imlua_aux.c
index e472dca..b26df93 100755
--- a/im/src/lua5/imlua_aux.c
+++ b/im/src/lua5/imlua_aux.c
@@ -2,7 +2,7 @@
* \brief IM Lua 5 Binding
*
* See Copyright Notice in im_lib.h
- * $Id: imlua_aux.c,v 1.2 2009/08/04 21:35:26 scuri Exp $
+ * $Id: imlua_aux.c,v 1.3 2010/01/21 18:24:22 scuri Exp $
*/
#include <memory.h>
@@ -46,7 +46,7 @@ int imlua_newarrayint (lua_State *L, int *value, int count, int start)
lua_newtable(L);
for (i = 0; i < count; i++)
{
- lua_pushnumber(L, value[i]);
+ lua_pushinteger(L, value[i]);
lua_rawseti(L, -2, i+start);
}
return 1;