aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--g10/tofu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/tofu.c b/g10/tofu.c
index abf1ab42d..d15b25f4f 100644
--- a/g10/tofu.c
+++ b/g10/tofu.c
@@ -2227,10 +2227,10 @@ build_conflict_set (tofu_dbs_t dbs,
int j;
strlist_t *prevp;
strlist_t iter_next;
- char *die;
+ int *die;
log_assert (conflict_set_count > 0);
- die = xtrycalloc (1, conflict_set_count);
+ die = xtrycalloc (conflict_set_count, sizeof *die);
if (!die)
{
/*err = gpg_error_from_syserror ();*/