From 607d3c7d7bc6f2e3f5bc7c07eb12b5aa6fb2bdea Mon Sep 17 00:00:00 2001 From: Friedrich Beckmann Date: Sun, 28 Sep 2014 16:46:07 -0700 Subject: [PATCH] render-test: Fix invocation of tab_footnote(). MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes this GCC warning: tests/output/render-test.c: In function ‘read_table’: tests/output/render-test.c:491:19: error: format not a string literal and no format arguments [-Werror=format-security] --- tests/output/render-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/output/render-test.c b/tests/output/render-test.c index 0d6f9684f3..8ce0697910 100644 --- a/tests/output/render-test.c +++ b/tests/output/render-test.c @@ -488,7 +488,7 @@ read_table (FILE *stream, struct table **tables, size_t n_tables) tab_joint_text (tab, c, r, c + cs - 1, r + rs - 1, opt, content); else - tab_footnote (tab, c, r, content); + tab_footnote (tab, c, r, "%s", content); } } -- 2.30.2