summaryrefslogtreecommitdiff
path: root/src/MD2.c
diff options
context:
space:
mode:
authorRobey Pointer <robey@lag.net>2006-08-14 19:47:56 -0700
committerRobey Pointer <robey@lag.net>2006-08-14 19:47:56 -0700
commita4bac7499e37f5346c99bc173105a1526b68181d (patch)
treee9612d37b4db82b3a18bc073cd037dad0905362e /src/MD2.c
parentc2ef7d6f49efa17da0908409e25a3ca1fc0fc0f8 (diff)
downloadpycrypto-a4bac7499e37f5346c99bc173105a1526b68181d.tar.gz
[project @ robey@lag.net-20060815024756-0ee4d018bde70abe]
fix a few gcc warnings about signed/unsigned char and system-header-defined macros
Diffstat (limited to 'src/MD2.c')
-rw-r--r--src/MD2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MD2.c b/src/MD2.c
index aa53c59..dfe7264 100644
--- a/src/MD2.c
+++ b/src/MD2.c
@@ -112,7 +112,7 @@ hash_digest (const hash_state *self)
for(i=0; i<padlen; i++) padding[i]=padlen;
hash_update(&temp, padding, padlen);
hash_update(&temp, temp.C, 16);
- return PyString_FromStringAndSize(temp.X, 16);
+ return PyString_FromStringAndSize((char *) temp.X, 16);
}
#include "hash_template.c"