diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2015-01-15 10:13:51 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2015-01-15 10:13:51 +0000 |
commit | 5e9545756b8387338febc48874c93df7e0b8e8ee (patch) | |
tree | b230a53cb985e678a4ed19d9539d2ae033d5ed87 /map.c | |
parent | Correct printf arguments and use asprintf (diff) | |
download | w3m-5e9545756b8387338febc48874c93df7e0b8e8ee.tar.gz w3m-5e9545756b8387338febc48874c93df7e0b8e8ee.zip |
Do not use C99 printf format specifiers and asprintf
Diffstat (limited to 'map.c')
-rw-r--r-- | map.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -573,7 +573,7 @@ page_info_panel(Buffer *buf) "<tr valign=top><td nowrap>Number of lines<td>", Sprintf("%d", all)->ptr, "<tr valign=top><td nowrap>Transferred bytes<td>", - Sprintf("%zu", buf->trbyte)->ptr, NULL); + Sprintf("%lu", (unsigned long)buf->trbyte)->ptr, NULL); a = retrieveCurrentAnchor(buf); if (a != NULL) { |