mirror of
https://github.com/python/cpython
synced 2026-09-29 11:35:29 +03:00
Issue #9566: Explicit downcast to fix compiler warnings on Win64
This commit is contained in:
parent
4ca1cf35fb
commit
56cb12542d
4 changed files with 8 additions and 6 deletions
|
|
@ -246,7 +246,7 @@ md5_process(struct md5_state *md5, const unsigned char *in, Py_ssize_t inlen)
|
|||
} else {
|
||||
n = MIN(inlen, (Py_ssize_t)(MD5_BLOCKSIZE - md5->curlen));
|
||||
memcpy(md5->buf + md5->curlen, in, (size_t)n);
|
||||
md5->curlen += n;
|
||||
md5->curlen += (MD5_INT32)n;
|
||||
in += n;
|
||||
inlen -= n;
|
||||
if (md5->curlen == MD5_BLOCKSIZE) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue