summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-09-20 07:27:32 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-09-20 07:27:32 +0000
commit4f49e799327b55be29028c392a8a8ee4ed921c83 (patch)
treee3cb8e4e380632a6af94768e82b1c5eed442ae38 /src/util.c
parent57e72b33977d864863b90c893c913eb268e2f997 (diff)
use the gint64 format specifier %li, not %ld (long). hopefully silence the last remaining compiler warnings that I've seen (only on 32bit).
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index a9123c6..bbddecc 100644
--- a/src/util.c
+++ b/src/util.c
@@ -232,7 +232,7 @@ char *tr_strltime_long(char *buf, long seconds, size_t buflen)
g_snprintf(m, sizeof(m), ngettext("%d minute", "%d minutes", minutes),
minutes);
g_snprintf(s, sizeof(s),
- ngettext("%ld second", "%ld seconds", seconds), seconds);
+ ngettext("%li second", "%li seconds", seconds), seconds);
if (days) {
if (days >= 4 || !hours) {