summaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2006-10-07 18:36:57 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2006-10-07 18:36:57 +0000
commita297c312ef3c1c4325abc60cf9d03043f6645948 (patch)
tree67b946f3998b7375cf33f1e5666032320cd2374f /net-p2p
parent- Fix build on FreeBSD 4.x (diff)
- fix for gcc41
Notes
Notes: svn path=/head/; revision=174834
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/ed2k/files/patch-ed2k.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/net-p2p/ed2k/files/patch-ed2k.c b/net-p2p/ed2k/files/patch-ed2k.c
index c9efde43b755..3c6191f5b925 100644
--- a/net-p2p/ed2k/files/patch-ed2k.c
+++ b/net-p2p/ed2k/files/patch-ed2k.c
@@ -1,5 +1,5 @@
--- ed2k.c.orig Sun Jun 13 19:47:20 2004
-+++ ed2k.c Wed Nov 9 07:55:38 2005
++++ ed2k.c Sat Oct 7 20:04:07 2006
@@ -32,7 +32,7 @@
#include <sys/stat.h>
@@ -49,6 +49,15 @@
return ((q >= 10) ? 'W' : '0') + q;
}
+@@ -95,7 +106,7 @@
+ char *str = internal_str;
+ int dsize = sizeof(md4_t);
+ while (dsize--) {
+- unsigned char d = *((unsigned char *)digest)++;
++ unsigned char d = (*((unsigned char *)digest))++;
+ *(str++) = hdigit(d >> 4 );
+ *(str++) = hdigit(d & 0xf);
+ }
@@ -181,6 +192,7 @@
}