Issue #9566: use Py_ssize_t instead of int

This commit is contained in:
Victor Stinner 2011-01-04 12:59:15 +00:00
parent 6ab8e8298e
commit 0fcab4a3ed
14 changed files with 32 additions and 33 deletions

View file

@ -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);