1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[lua] casting to char *

This commit is contained in:
Witold Filipczyk 2021-12-20 16:39:08 +01:00
parent ba82167586
commit 88aa2f9e0e

View File

@ -663,7 +663,7 @@ static int
l_goto_url(LS)
{
if (lua_isstring(S, 1)) {
goto_url(lua_ses, (unsigned char *) lua_tostring(S, 1));
goto_url(lua_ses, (char *)lua_tostring(S, 1));
lua_pushnumber(S, 0);
return 1;
}