From bfcac7ccdac320938d140ce21fd09eabd6a61312 Mon Sep 17 00:00:00 2001 From: Brendan Shanks Date: Mon, 6 Apr 2020 10:13:54 -0700 Subject: [PATCH] hostkey.c: Fix 'unsigned int'/'uint32_t' mismatch (#461) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit File: hostkey.c Notes: These types are the same size so most compilers are fine with it, but CodeWarrior (on classic MacOS) throws an ‘illegal implicit conversion’ error Credit: Brendan Shanks --- src/hostkey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hostkey.c b/src/hostkey.c index 5255e689..1631aae6 100644 --- a/src/hostkey.c +++ b/src/hostkey.c @@ -647,7 +647,7 @@ hostkey_method_ssh_ecdsa_sig_verify(LIBSSH2_SESSION * session, { unsigned char *r, *s, *name; size_t r_len, s_len, name_len; - unsigned int len; + uint32_t len; struct string_buf buf; libssh2_ecdsa_ctx *ctx = (libssh2_ecdsa_ctx *) (*abstract);