summaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc.c')
-rw-r--r--src/misc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/misc.c b/src/misc.c
index d577b244..912039a5 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -396,7 +396,8 @@ _gcry_log_printsxp (const char *text, gcry_sexp_t sexp)
{
int any = 0;
int n_closing;
- char *buf, *p, *pend;
+ char *buf, *pend;
+ const char *p;
size_t size;
size = gcry_sexp_sprint (sexp, GCRYSEXP_FMT_ADVANCED, NULL, 0);