diff options
author | Robey Pointer <robey@lag.net> | 2006-08-14 19:47:56 -0700 |
---|---|---|
committer | Robey Pointer <robey@lag.net> | 2006-08-14 19:47:56 -0700 |
commit | a4bac7499e37f5346c99bc173105a1526b68181d (patch) | |
tree | e9612d37b4db82b3a18bc073cd037dad0905362e /src/MD2.c | |
parent | c2ef7d6f49efa17da0908409e25a3ca1fc0fc0f8 (diff) | |
download | pycrypto-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |