load warning fix for lua src build in

stable-5.2-namespace
mckaygerhard 2023-09-17 17:42:12 -04:00
parent 9d09cf17d2
commit d79506d076
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ static void *ll_load (lua_State *L, const char *path) {
static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) {
lua_CFunction f = (lua_CFunction)dlsym(lib, sym);
lua_CFunction f = __extension__(lua_CFunction)dlsym(lib, sym);
if (f == NULL) lua_pushstring(L, dlerror());
return f;
}