From 5cabcf96e77bcf6d23bfb3ec32c9ea37100578c6 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Mon, 29 Dec 2008 12:35:49 +0000 Subject: Fix "possible loss of data" Win64 compiler warnings. --- crypto/sha/sha512.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/sha') diff --git a/crypto/sha/sha512.c b/crypto/sha/sha512.c index 832cae24f1..d1aa7614b2 100644 --- a/crypto/sha/sha512.c +++ b/crypto/sha/sha512.c @@ -240,7 +240,7 @@ int SHA512_Update (SHA512_CTX *c, const void *_data, size_t len) if (len < n) { - memcpy (p+c->num,data,len), c->num += len; + memcpy (p+c->num,data,len), c->num += (unsigned int)len; return 1; } else { -- cgit v1.2.3