aboutsummaryrefslogtreecommitdiffstats
path: root/epan/crypt/crypt-md4.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2009-10-07 22:36:33 +0000
committerGuy Harris <guy@alum.mit.edu>2009-10-07 22:36:33 +0000
commit3f8748951f3eb6d2c559977402046211d1288967 (patch)
treeeef0c204cd102e3b0e99611dec38808b24e164c3 /epan/crypt/crypt-md4.c
parent4c70f4fad0f334c16fad0f876042aa699aad7236 (diff)
Fix some LLP64 issues.
svn path=/trunk/; revision=30393
Diffstat (limited to 'epan/crypt/crypt-md4.c')
-rw-r--r--epan/crypt/crypt-md4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/crypt/crypt-md4.c b/epan/crypt/crypt-md4.c
index cbc41bd2dd..29f993a1b5 100644
--- a/epan/crypt/crypt-md4.c
+++ b/epan/crypt/crypt-md4.c
@@ -127,11 +127,11 @@ static void copy4(unsigned char *out, guint32 x)
}
/* produce a md4 message digest from data of length n bytes */
-void crypt_md4(unsigned char *out, const unsigned char *in, int n)
+void crypt_md4(unsigned char *out, const unsigned char *in, size_t n)
{
unsigned char buf[128];
guint32 M[16];
- guint32 b = n * 8;
+ guint32 b = (guint32)(n * 8);
int i;
A = 0x67452301;