0
0
mirror of https://github.com/rkd77/elinks.git synced 2025-09-21 19:46:23 -04:00

[cast] Explicit casts for narrowing conversions

This commit is contained in:
Witold Filipczyk
2022-01-17 17:07:46 +01:00
parent 311909f49a
commit 8999a19593
11 changed files with 13 additions and 13 deletions

View File

@@ -463,7 +463,7 @@ void
ecmascript_protocol_handler(struct session *ses, struct uri *uri)
{
struct document_view *doc_view = current_frame(ses);
struct string current_url = INIT_STRING(struri(uri), strlen(struri(uri)));
struct string current_url = INIT_STRING(struri(uri), (int)strlen(struri(uri)));
char *redirect_url, *redirect_abs_url;
struct uri *redirect_uri;