瀏覽代碼

[Minor] Add explicit cast

tags/3.1
Vsevolod Stakhov 2 年之前
父節點
當前提交
e4621c415e
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/libserver/html/html.cxx

+ 1
- 1
src/libserver/html/html.cxx 查看文件

@@ -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…
取消
儲存