diff options
Diffstat (limited to 'app/clipboard/clipboard_linux.cc')
-rw-r--r-- | app/clipboard/clipboard_linux.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/clipboard/clipboard_linux.cc b/app/clipboard/clipboard_linux.cc index eb05331..f36c480 100644 --- a/app/clipboard/clipboard_linux.cc +++ b/app/clipboard/clipboard_linux.cc @@ -169,8 +169,8 @@ void Clipboard::WriteHTML(const char* markup_data, // TODO(estade): We need to expand relative links with |url_data|. static const char* html_prefix = "<meta http-equiv=\"content-type\" " "content=\"text/html; charset=utf-8\">"; - int html_prefix_len = strlen(html_prefix); - int total_len = html_prefix_len + markup_len; + size_t html_prefix_len = strlen(html_prefix); + size_t total_len = html_prefix_len + markup_len; char* data = new char[total_len]; snprintf(data, total_len, "%s", html_prefix); |