diff options
Diffstat (limited to 'lua.c')
-rw-r--r-- | lua.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -488,8 +488,8 @@ static void lua_freeline (char *line) { | |||
488 | static void lua_initreadline(lua_State *L) { | 488 | static void lua_initreadline(lua_State *L) { |
489 | UNUSED(L); | 489 | UNUSED(L); |
490 | rl_readline_name = "lua"; | 490 | rl_readline_name = "lua"; |
491 | l_readline = readline; | 491 | l_readline = cast(l_readlineT, readline); |
492 | l_addhist = add_history; | 492 | l_addhist = cast(l_addhistT, add_history); |
493 | } | 493 | } |
494 | 494 | ||
495 | #elif defined(LUA_USE_DLOPEN) && defined(LUA_READLINELIB) /* }{ */ | 495 | #elif defined(LUA_USE_DLOPEN) && defined(LUA_READLINELIB) /* }{ */ |