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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user