aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-01-19 23:26:01 +0100
committerDaniel Stenberg <daniel@haxx.se>2014-01-19 23:26:01 +0100
commit4f334ba0172a5758819e84ee380bda941e674e38 (patch)
tree0e04ffe69679edbf4abcee731ac162621a5b5f31 /lib/vtls
parent33b8960dc88d8d0a5bfef92f891515b9a3b9727d (diff)
gtls: fix compiler warnings on conversions size_t => unsigned int
Diffstat (limited to 'lib/vtls')
-rw-r--r--lib/vtls/gtls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/vtls/gtls.c b/lib/vtls/gtls.c
index 72a681af1..425b0f817 100644
--- a/lib/vtls/gtls.c
+++ b/lib/vtls/gtls.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -1101,8 +1101,8 @@ void Curl_gtls_md5sum(unsigned char *tmp, /* input */
#if defined(USE_GNUTLS_NETTLE)
struct md5_ctx MD5pw;
md5_init(&MD5pw);
- md5_update(&MD5pw, tmplen, tmp);
- md5_digest(&MD5pw, md5len, md5sum);
+ md5_update(&MD5pw, (unsigned int)tmplen, tmp);
+ md5_digest(&MD5pw, (unsigned int)md5len, md5sum);
#elif defined(USE_GNUTLS)
gcry_md_hd_t MD5pw;
gcry_md_open(&MD5pw, GCRY_MD_MD5, 0);