summaryrefslogtreecommitdiff
path: root/net-p2p/ed2k_hash/files/ed2k_64bit.patch
blob: 2f1520e137ec7719f8688e417d0b17f10d022824 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/ed2k_hash/md4.h
+++ b/ed2k_hash/md4.h
@@ -66,7 +66,8 @@
 typedef unsigned short int UINT2;
 
 /* UINT4 defines a four byte word */
-typedef unsigned long int UINT4;
+/* unsigned long int on 64bit is 8 bits */
+typedef unsigned int UINT4;
 
 /* PROTO_LIST is defined depending on how PROTOTYPES is defined above.
    If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it