aboutsummaryrefslogtreecommitdiffstats
path: root/src/debug.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2018-11-16 15:57:09 +0000
committerWerner Koch <[email protected]>2018-11-16 15:57:09 +0000
commitcf423864062a2677d0eeabbb11462a788f527b4c (patch)
treee00dc76f2a2ffc47858880631ddefe13be13fbd1 /src/debug.c
parentcore: Remove old debug helper function (diff)
downloadgpgme-cf423864062a2677d0eeabbb11462a788f527b4c.tar.gz
gpgme-cf423864062a2677d0eeabbb11462a788f527b4c.zip
core: Fix format string errors in trace macros
-- Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'src/debug.c')
-rw-r--r--src/debug.c2
1 files changed, 1 insertions, 1 deletions
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;
}