nightmaremail

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 2b3f38616ec0ae151e8556566fce4b4a3139fdd1
parent f6c2a90177f88c0353c75fb4aaa74d2ff3b1c533
Author: Rolf Eike Beer <eike@sf-mail.de>
Date:   Fri, 22 May 2020 19:11:31 +0200

add back accidentially removed typecast

Fixes: 2fe3ac71d35e68d1d42273a3925b9f7dc8020742

Diffstat:
Mgen_allocdefs.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gen_allocdefs.h b/gen_allocdefs.h @@ -27,7 +27,7 @@ static int ta_rplus ## _internal (ta *x, unsigned int n, unsigned int pluslen) \ x->len = 0; \ if (__builtin_mul_overflow(n, sizeof(type), &nlen)) \ return 0; \ - x->field = alloc(nlen); \ + x->field = (type *) alloc(nlen); \ if (!x->field) \ return 0; \ x->a = n; \