mirror of
https://github.com/curl/curl.git
synced 2026-08-25 16:33:38 +03:00
Explicit typecast for Curl_debug() size argument
This commit is contained in:
parent
44ffe0dc79
commit
ec956b0334
5 changed files with 25 additions and 18 deletions
|
|
@ -1151,7 +1151,7 @@ static void ssl_tls_trace(int direction, int ssl_ver, int content_type,
|
|||
|
||||
txt_len = snprintf(ssl_buf, sizeof(ssl_buf), "SSLv%c, %s%s (%d):\n",
|
||||
ver, tls_rt_name, msg_name, msg_type);
|
||||
Curl_debug(data, CURLINFO_TEXT, ssl_buf, txt_len, NULL);
|
||||
Curl_debug(data, CURLINFO_TEXT, ssl_buf, (size_t)txt_len, NULL);
|
||||
|
||||
Curl_debug(data, (direction == 1) ? CURLINFO_SSL_DATA_OUT :
|
||||
CURLINFO_SSL_DATA_IN, (char *)buf, len, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue