gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 35/282: libssh2: fix variable type


From: gnunet
Subject: [gnurl] 35/282: libssh2: fix variable type
Date: Wed, 01 Apr 2020 14:28:20 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 6f69edf962b6443d0fcd1a279dd9ef971b4a1581
Author: Marcel Raad <address@hidden>
AuthorDate: Wed Jan 15 20:28:01 2020 +0100

    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
---
 lib/vssh/libssh2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/vssh/libssh2.c b/lib/vssh/libssh2.c
index cdbfa7b40..92cb65132 100644
--- a/lib/vssh/libssh2.c
+++ b/lib/vssh/libssh2.c
@@ -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;
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]