summaryrefslogtreecommitdiff
path: root/src/test/test_crypto.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-04-23 09:09:20 -0400
committerNick Mathewson <nickm@torproject.org>2015-04-23 09:09:20 -0400
commit55118d90ca927d2cdb2cbd92189113da4dcb2fe7 (patch)
tree4b36f953cd021b603c3ee8302c672410981d3831 /src/test/test_crypto.c
parent196499da73afa5c8000154aafe36c10b9ee43901 (diff)
downloadtor-55118d90ca927d2cdb2cbd92189113da4dcb2fe7.tar.gz
tor-55118d90ca927d2cdb2cbd92189113da4dcb2fe7.zip
Fix some implicit conversion warnings
Diffstat (limited to 'src/test/test_crypto.c')
-rw-r--r--src/test/test_crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_crypto.c b/src/test/test_crypto.c
index 299373e2ec..7f4aa13ac2 100644
--- a/src/test/test_crypto.c
+++ b/src/test/test_crypto.c
@@ -614,7 +614,7 @@ base64_encode_evp(char *dest, char *src, size_t srclen)
int len, ret;
EVP_EncodeInit(&ctx);
- EVP_EncodeUpdate(&ctx, (unsigned char *)dest, &len, s, srclen);
+ EVP_EncodeUpdate(&ctx, (unsigned char *)dest, &len, s, (int)srclen);
EVP_EncodeFinal(&ctx, (unsigned char *)(dest + len), &ret);
return ret+ len;
}