From 392c3490d97960c22ac4aa15deb035e190584828 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 21 Mar 2006 18:54:57 +0000 Subject: unsigned long -> unsigned int: unsigned int should be the same size on AMD64 as it is on 32 bit, but unsigned long is NOT. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3747 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_opermd5.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_opermd5.cpp b/src/modules/m_opermd5.cpp index 42683ac19..b28679372 100644 --- a/src/modules/m_opermd5.cpp +++ b/src/modules/m_opermd5.cpp @@ -24,7 +24,6 @@ using namespace std; #include "modules.h" #include "helperfuncs.h" - /* The four core functions - F1 is optimized somewhat */ #define F1(x, y, z) (z ^ (x & (y ^ z))) #define F2(x, y, z) F1(z, x, y) @@ -35,7 +34,7 @@ using namespace std; #define MD5STEP(f,w,x,y,z,in,s) \ (w += f(x,y,z) + in, w = (w<>(32-s)) + x) -typedef unsigned long word32; +typedef unsigned int word32; /* NOT unsigned long. We don't support 16 bit platforms, anyway. */ typedef unsigned char byte; struct MD5Context { -- cgit v1.2.3