mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +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
|
|
@ -203,9 +203,9 @@ void sha1_init(struct sha1_state *sha1)
|
|||
@param inlen The length of the data (octets)
|
||||
*/
|
||||
void sha1_process(struct sha1_state *sha1,
|
||||
const unsigned char *in, unsigned long inlen)
|
||||
const unsigned char *in, Py_ssize_t inlen)
|
||||
{
|
||||
unsigned long n;
|
||||
Py_ssize_t n;
|
||||
|
||||
assert(sha1 != NULL);
|
||||
assert(in != NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue