From 99dc1fa2812ebc29ecf325851257d4ae02614fb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=91=E9=A3=8E?= Date: Fri, 17 Aug 2012 18:48:32 +0800 Subject: [PATCH] int64 bugfix --- lua-int64/int64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua-int64/int64.c b/lua-int64/int64.c index abdbb6de..4c884edf 100644 --- a/lua-int64/int64.c +++ b/lua-int64/int64.c @@ -35,7 +35,7 @@ _int64(lua_State *L, int index) { break; } default: - return luaL_error(L, "argument 1 error type %s", lua_typename(L,1)); + return luaL_error(L, "argument %d error type %s", index, lua_typename(L,type)); } return n; }