From 88aa2f9e0e4a90d279b9471d9ca30f641c84b6b1 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Mon, 20 Dec 2021 16:39:08 +0100 Subject: [PATCH] [lua] casting to char * --- src/scripting/lua/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripting/lua/core.c b/src/scripting/lua/core.c index 671d0cc9d..f0c9bc82f 100644 --- a/src/scripting/lua/core.c +++ b/src/scripting/lua/core.c @@ -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; }