From 1c45d62a0ca4bc783978c8c025c7d85652ac09a8 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Tue, 25 Nov 2008 09:31:21 +0000 Subject: [PATCH] fix bug reported by new gcc warnings [r23962] --- ir/tv/tv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir/tv/tv.c b/ir/tv/tv.c index eb77f3def..3e3d82141 100644 --- a/ir/tv/tv.c +++ b/ir/tv/tv.c @@ -1516,7 +1516,7 @@ int tarval_printf(tarval *tv) { res = tarval_snprintf(buf, sizeof(buf), tv); assert(res < (int) sizeof(buf) && "buffer to small for tarval_snprintf"); - printf(buf); + printf("%s", buf); return res; } -- 2.20.1