summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/trg-torrent-graph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trg-torrent-graph.c b/src/trg-torrent-graph.c
index c5e4d4b..fd38cae 100644
--- a/src/trg-torrent-graph.c
+++ b/src/trg-torrent-graph.c
@@ -33,7 +33,7 @@
#include "util.h"
/* damn you freebsd */
-#define log2(x) (log(x)/M_LN2)
+#define log2(x) (log(x)/0.69314718055994530942)
#define GRAPH_NUM_POINTS 62
#define GRAPH_MIN_HEIGHT 40