Skip to content

Commit

Permalink
add back accidentially removed typecast
Browse files Browse the repository at this point in the history
Fixes: 2fe3ac7
  • Loading branch information
DerDakon committed May 22, 2020
1 parent f6c2a90 commit 2b3f386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gen_allocdefs.h
Expand Up @@ -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; \
Expand Down

0 comments on commit 2b3f386

Please sign in to comment.