aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2006-10-08 03:51:31 +0800
committerdinoex <dinoex@FreeBSD.org>2006-10-08 03:51:31 +0800
commit052a89a833a7ee578f0080a38621d11121614e2f (patch)
tree9c666c14a37698835595be708c5583e3f82e7b91 /net-p2p
parenta727885cf3e63d59824b50b90781da002c9b4b15 (diff)
downloadfreebsd-ports-gnome-052a89a833a7ee578f0080a38621d11121614e2f.tar.gz
freebsd-ports-gnome-052a89a833a7ee578f0080a38621d11121614e2f.tar.zst
freebsd-ports-gnome-052a89a833a7ee578f0080a38621d11121614e2f.zip
- fix build with gcc41
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/ed2k/files/patch-ed2k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-p2p/ed2k/files/patch-ed2k.c b/net-p2p/ed2k/files/patch-ed2k.c
index 3c6191f5b925..ce2a6d085069 100644
--- a/net-p2p/ed2k/files/patch-ed2k.c
+++ b/net-p2p/ed2k/files/patch-ed2k.c
@@ -54,7 +54,7 @@
int dsize = sizeof(md4_t);
while (dsize--) {
- unsigned char d = *((unsigned char *)digest)++;
-+ unsigned char d = (*((unsigned char *)digest))++;
++ unsigned char d = *(((unsigned char *)digest)++);
*(str++) = hdigit(d >> 4 );
*(str++) = hdigit(d & 0xf);
}