mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #9566: use Py_ssize_t instead of int
This commit is contained in:
parent
6ab8e8298e
commit
0fcab4a3ed
14 changed files with 32 additions and 33 deletions
|
@ -265,9 +265,9 @@ sha224_init(SHAobject *sha_info)
|
|||
/* update the SHA digest */
|
||||
|
||||
static void
|
||||
sha_update(SHAobject *sha_info, SHA_BYTE *buffer, int count)
|
||||
sha_update(SHAobject *sha_info, SHA_BYTE *buffer, Py_ssize_t count)
|
||||
{
|
||||
int i;
|
||||
Py_ssize_t i;
|
||||
SHA_INT32 clo;
|
||||
|
||||
clo = sha_info->count_lo + ((SHA_INT32) count << 3);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue