diff options
author | krion <krion@FreeBSD.org> | 2004-05-21 15:42:01 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-05-21 15:42:01 +0800 |
commit | 108ccf2d86423de07df2aac2132855f746a286a9 (patch) | |
tree | a3dbd01ef796e1f1445a65035c7d6efb43b57e12 /net-p2p/gnunet | |
parent | fdbc32fd248e19d70974700d12abaa47261415d8 (diff) | |
download | freebsd-ports-gnome-108ccf2d86423de07df2aac2132855f746a286a9.tar.gz freebsd-ports-gnome-108ccf2d86423de07df2aac2132855f746a286a9.tar.zst freebsd-ports-gnome-108ccf2d86423de07df2aac2132855f746a286a9.zip |
- Fix build on 4-x for kris, who wanted to have such gifts to his
birthday ;)
Reported by: bento via kris
Diffstat (limited to 'net-p2p/gnunet')
-rw-r--r-- | net-p2p/gnunet/files/patch-src_applications_afs_gtkui_statistics.c | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/net-p2p/gnunet/files/patch-src_applications_afs_gtkui_statistics.c b/net-p2p/gnunet/files/patch-src_applications_afs_gtkui_statistics.c new file mode 100644 index 000000000000..17cef5d0143d --- /dev/null +++ b/net-p2p/gnunet/files/patch-src_applications_afs_gtkui_statistics.c @@ -0,0 +1,37 @@ +--- src/applications/afs/gtkui/statistics.c.orig Fri May 21 09:34:00 2004 ++++ src/applications/afs/gtkui/statistics.c Fri May 21 09:34:23 2004 +@@ -178,14 +178,14 @@ + gfloat ** data) { + long long val; + char * cmh; +- long long cval; ++ long cval; + + cmh = getConfigurationOptionValue(sock, + "gnunetd", + "connection-max-hosts"); + if (cmh == NULL) + return SYSERR; +- cval = atoll(cmh); ++ cval = atol(cmh); + FREE(cmh); + if (OK != getStatValue(&val, + NULL, +@@ -291,7 +291,7 @@ + "MAXNETDOWNBPSTOTAL"); + if (available == NULL) + return SYSERR; +- band = atoll(available) * dtime / cronSECONDS; ++ band = atol(available) * dtime / cronSECONDS; + FREE(available); + total -= ltotal; + noise -= lnoise; +@@ -395,7 +395,7 @@ + "MAXNETUPBPSTOTAL"); + if (available == NULL) + return SYSERR; +- band = atoll(available) * dtime / cronSECONDS; ++ band = atol(available) * dtime / cronSECONDS; + FREE(available); + total -= ltotal; + noise -= lnoise; |