diff options
Diffstat (limited to 'protocols/WhatsApp/src/OpenSSL/md32_common.h')
-rw-r--r-- | protocols/WhatsApp/src/OpenSSL/md32_common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/WhatsApp/src/OpenSSL/md32_common.h b/protocols/WhatsApp/src/OpenSSL/md32_common.h index e0deb78015..f0ca0fe631 100644 --- a/protocols/WhatsApp/src/OpenSSL/md32_common.h +++ b/protocols/WhatsApp/src/OpenSSL/md32_common.h @@ -293,7 +293,7 @@ int HASH_UPDATE (HASH_CTX *c, const void *data_, size_t len) * Wei Dai <weidai@eskimo.com> for pointing it out. */ if (l < c->Nl) /* overflow */ c->Nh++; - c->Nh+=(len>>29); /* might cause compiler warning on 16-bit */ + c->Nh += (unsigned long)(len>>29); /* might cause compiler warning on 16-bit */ c->Nl=l; n = c->num; @@ -331,7 +331,7 @@ int HASH_UPDATE (HASH_CTX *c, const void *data_, size_t len) if (len != 0) { p = (unsigned char *)c->data; - c->num = len; + c->num = (unsigned)len; memcpy (p,data,len); } return 1; |