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

@ -228,9 +228,9 @@ void md5_init(struct md5_state *md5)
@param inlen The length of the data (octets)
*/
void md5_process(struct md5_state *md5,
const unsigned char *in, unsigned long inlen)
const unsigned char *in, Py_ssize_t inlen)
{
unsigned long n;
Py_ssize_t n;
assert(md5 != NULL);
assert(in != NULL);