commit | 0fcab4a3ed5e39769609b60d6179c4c801e45985 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Tue Jan 04 12:59:15 2011 +0000 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Tue Jan 04 12:59:15 2011 +0000 |
tree | fc5592e351ed18a96d7e94aeb2ced52c0ba2fd0d | |
parent | 6ab8e8298eba1d52debc53d6e6a38d419bb255c0 [diff] [blame] |
Issue #9566: use Py_ssize_t instead of int
diff --git a/Modules/md5module.c b/Modules/md5module.c index d217dc8..208930d 100644 --- a/Modules/md5module.c +++ b/Modules/md5module.c
@@ -228,9 +228,9 @@ @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);