mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 17:31:46 -05: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
@ -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…
x
Reference in New Issue
Block a user