diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-09-20 07:27:32 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-09-20 07:27:32 +0000 |
commit | 4f49e799327b55be29028c392a8a8ee4ed921c83 (patch) | |
tree | e3cb8e4e380632a6af94768e82b1c5eed442ae38 /src/util.c | |
parent | 57e72b33977d864863b90c893c913eb268e2f997 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |