aboutsummaryrefslogtreecommitdiffstats
path: root/g10/progress.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/progress.c')
-rw-r--r--g10/progress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/progress.c b/g10/progress.c
index 8c8265f36..cea080c0e 100644
--- a/g10/progress.c
+++ b/g10/progress.c
@@ -91,7 +91,7 @@ progress_filter (void *opaque, int control,
pfx->what = NULL;
}
else if (control == IOBUFCTRL_DESC)
- *(char**)buf = "progress_filter";
+ mem2str (buf, "progress_filter", *ret_len);
return rc;
}