aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2015-01-15 10:14:08 +0000
committerTatsuya Kinoshita <tats@debian.org>2015-01-15 10:14:08 +0000
commitfde71b37d247c939c0f57c08a104b4ab30647de3 (patch)
treeb230a53cb985e678a4ed19d9539d2ae033d5ed87 /main.c
parentMerge branch 'bug/changelog' (diff)
parentDo not use C99 printf format specifiers and asprintf (diff)
downloadw3m-fde71b37d247c939c0f57c08a104b4ab30647de3.tar.gz
w3m-fde71b37d247c939c0f57c08a104b4ab30647de3.zip
Merge branch 'bug/printf'
Diffstat (limited to '')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 32f4da2..76256d6 100644
--- a/main.c
+++ b/main.c
@@ -5841,7 +5841,7 @@ set_buffer_environ(Buffer *buf)
set_environ("W3M_CURRENT_FORM", form2str((FormItemList *)a->url));
else
set_environ("W3M_CURRENT_FORM", "");
- set_environ("W3M_CURRENT_LINE", Sprintf("%d",
+ set_environ("W3M_CURRENT_LINE", Sprintf("%ld",
l->real_linenumber)->ptr);
set_environ("W3M_CURRENT_COLUMN", Sprintf("%d",
buf->currentColumn +