Browse Source

[Minor] Add explicit cast

tags/3.1
Vsevolod Stakhov 2 years ago
parent
commit
e4621c415e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/libserver/html/html.cxx

+ 1
- 1
src/libserver/html/html.cxx View File

@@ -1266,7 +1266,7 @@ html_append_tag_content(rspamd_mempool_t *pool,
if (tag->id == Tag_A) {
auto written_len = hc->parsed.size() - initial_parsed_offset;
html_process_displayed_href_tag(pool, hc,
{hc->parsed.data() + initial_parsed_offset, written_len},
{hc->parsed.data() + initial_parsed_offset, std::size_t(written_len)},
tag, exceptions,
url_set, initial_parsed_offset);
}

Loading…
Cancel
Save