summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-04-30 21:37:52 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-04-30 21:37:52 +0000
commit4783c442c1811a8004bebaff9eea326fdd731ac9 (patch)
tree257549031c9ba40221a3356783178e90ff5ea29d /src/util.c
parentc0bae6b1b517feefbef197d55a72bb62e056b21e (diff)
bind ip column in peers treeview to correct column, fix for panel updates
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.c b/src/util.c
index 0ae0aa3..7dd7707 100644
--- a/src/util.c
+++ b/src/util.c
@@ -246,7 +246,7 @@ char *tr_strlspeed(char *buf, double kb_sec, size_t buflen)
return buf;
}
-char *tr_strltime_short(char *buf, gint64 seconds, size_t buflen)
+char *tr_strltime_short(char *buf, long seconds, size_t buflen)
{
int hours, minutes;
@@ -262,7 +262,7 @@ char *tr_strltime_short(char *buf, gint64 seconds, size_t buflen)
return buf;
}
-char *tr_strltime_long(char *buf, gint64 seconds, size_t buflen)
+char *tr_strltime_long(char *buf, long seconds, size_t buflen)
{
int days, hours, minutes;
char d[128], h[128], m[128], s[128];