mirror of
https://github.com/curl/curl.git
synced 2026-07-16 05:57:16 +03:00
libssh2: fix variable type
This led to a conversion warning on 64-bit MinGW, which has 32-bit `long` but 64-bit `size_t`. Closes https://github.com/curl/curl/pull/4823
This commit is contained in:
parent
c2feed05bc
commit
6f69edf962
1 changed files with 1 additions and 1 deletions
|
|
@ -685,7 +685,7 @@ static CURLcode ssh_force_knownhost_key_type(struct connectdata *conn)
|
|||
struct Curl_easy *data = conn->data;
|
||||
struct libssh2_knownhost* store = NULL;
|
||||
const char *kh_name_end = NULL;
|
||||
long unsigned int kh_name_size = 0;
|
||||
size_t kh_name_size = 0;
|
||||
int port = 0;
|
||||
bool found = false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue