You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-p2p/ed2k_hash/files/ed2k_64bit.patch

13 lines
462 B

--- a/ed2k_hash/md4.h 2002-09-04 18:24:37.000000000 +0100
+++ b/ed2k_hash/md4.h 2004-09-02 21:13:49.900613616 +0100
@@ -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