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:
parent
ba82167586
commit
88aa2f9e0e
@ -663,7 +663,7 @@ static int
|
|||||||
l_goto_url(LS)
|
l_goto_url(LS)
|
||||||
{
|
{
|
||||||
if (lua_isstring(S, 1)) {
|
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);
|
lua_pushnumber(S, 0);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user