From 5e9545756b8387338febc48874c93df7e0b8e8ee Mon Sep 17 00:00:00 2001 From: Tatsuya Kinoshita Date: Thu, 15 Jan 2015 19:13:51 +0900 Subject: Do not use C99 printf format specifiers and asprintf --- map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'map.c') diff --git a/map.c b/map.c index 116e71c..bb240ea 100644 --- a/map.c +++ b/map.c @@ -573,7 +573,7 @@ page_info_panel(Buffer *buf) "Number of lines", Sprintf("%d", all)->ptr, "Transferred bytes", - Sprintf("%zu", buf->trbyte)->ptr, NULL); + Sprintf("%lu", (unsigned long)buf->trbyte)->ptr, NULL); a = retrieveCurrentAnchor(buf); if (a != NULL) { -- cgit v1.2.3