summaryrefslogtreecommitdiffstats
path: root/Modules/shamodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-04-10 15:48:23 (GMT)
committerGuido van Rossum <guido@python.org>1999-04-10 15:48:23 (GMT)
commitff1ccbfc2172c564c6ca93113e1a1cf9a271f6ef (patch)
tree90e7a99262295be164c5b6bb021da86cf620b27b /Modules/shamodule.c
parentcbf8906f5de5da29602f9fa7034488d2dca51663 (diff)
downloadcpython-ff1ccbfc2172c564c6ca93113e1a1cf9a271f6ef.zip
cpython-ff1ccbfc2172c564c6ca93113e1a1cf9a271f6ef.tar.gz
cpython-ff1ccbfc2172c564c6ca93113e1a1cf9a271f6ef.tar.bz2
casts for picky compilers.
Diffstat (limited to 'Modules/shamodule.c')
-rw-r--r--Modules/shamodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/shamodule.c b/Modules/shamodule.c
index e82de04..76b95b2 100644
--- a/Modules/shamodule.c
+++ b/Modules/shamodule.c
@@ -195,7 +195,7 @@ sha_transform(sha_info)
SHA_INT32 T, A, B, C, D, E, W[80], *WP;
memcpy(W, sha_info->data, sizeof(sha_info->data));
- longReverse(W, sizeof(sha_info->data), sha_info->Endianness);
+ longReverse(W, (int)sizeof(sha_info->data), sha_info->Endianness);
for (i = 16; i < 80; ++i) {
W[i] = W[i-3] ^ W[i-8] ^ W[i-14] ^ W[i-16];