mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +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
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue