diff options
author | Tim Rühsen <tim.ruehsen@gmx.de> | 2019-12-20 12:49:34 +0100 |
---|---|---|
committer | Tim Rühsen <tim.ruehsen@gmx.de> | 2020-01-28 13:11:51 +0100 |
commit | a4e12c32d8364e0c71bbc254d13436cea0617496 (patch) | |
tree | a5f2de050efa8d51b4774f5e9036fe049d6c0baf | |
parent | 77a953b55c48d4bcc50fc069c648636761fb12f4 (diff) | |
download | gnutls-a4e12c32d8364e0c71bbc254d13436cea0617496.tar.gz |
Fix "implicit conversion from type 'int' of value -1 to 'unsigned'"
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
-rw-r--r-- | lib/algorithms/kx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/algorithms/kx.c b/lib/algorithms/kx.c index 2591ec193a..bbe0230a3a 100644 --- a/lib/algorithms/kx.c +++ b/lib/algorithms/kx.c @@ -296,7 +296,7 @@ bool _gnutls_kx_needs_dh_params(gnutls_kx_algorithm_t algorithm) gnutls_credentials_type_t _gnutls_map_kx_get_cred(gnutls_kx_algorithm_t algorithm, int server) { - gnutls_credentials_type_t ret = -1; + gnutls_credentials_type_t ret = (gnutls_credentials_type_t) -1; if (server) { GNUTLS_KX_MAP_LOOP(if (p->algorithm == algorithm) ret = p->server_type); |