From cf423864062a2677d0eeabbb11462a788f527b4c Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 16 Nov 2018 16:57:09 +0100 Subject: core: Fix format string errors in trace macros -- Signed-off-by: Werner Koch --- src/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/debug.c') diff --git a/src/debug.c b/src/debug.c index 29f7dc6d..f0b0da0e 100644 --- a/src/debug.c +++ b/src/debug.c @@ -379,7 +379,7 @@ _gpgme_debug_end (void **line) /* The smallest possible level is 1, so force logging here by using that. */ - _gpgme_debug (1, -1, NULL, NULL, NULL, "%s", *line); + _gpgme_debug (1, -1, NULL, NULL, NULL, "%s", (char*)*line); gpgrt_free (*line); *line = NULL; } -- cgit