lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> lua.c:259:12: note: expected ‘char *’ but argument is of type ‘const char *’
>  static int dolibrary (lua_State *L, char *name) {

The line number is right but the contents is not. In Lua 5.3.5, this line reads:

static int dolibrary (lua_State *L, const char *name) {