int64 bugfix

This commit is contained in:
云风
2012-08-17 18:48:32 +08:00
parent 0fc945581a
commit 99dc1fa281

View File

@@ -35,7 +35,7 @@ _int64(lua_State *L, int index) {
break; break;
} }
default: 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; return n;
} }