---
lib/malloca.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/malloca.c b/lib/malloca.c
index 4bce9a3d50..f1779a1c62 100644
--- a/lib/malloca.c
+++ b/lib/malloca.c
@@ -56,7 +56,7 @@ mmalloca (size_t n)
/* Allocate one more word, used to determine the address to pass to freea(),
and room for the alignment ≡ sa_alignment_max mod 2*sa_alignment_max. */
uintptr_t alignment2_mask = 2 * sa_alignment_max - 1;
- int plus = sizeof (small_t) + alignment2_mask;
+ size_t plus = sizeof (small_t) + alignment2_mask;
idx_t nplus;
if (!ckd_add (&nplus, n, plus) && !xalloc_oversized (nplus, 1))
{
--
2.47.3