bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 11/13] stack: prefer idx_t for indexes


From: Bruno Haible
Subject: Re: [PATCH 11/13] stack: prefer idx_t for indexes
Date: Sun, 13 Jun 2021 12:19:12 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-210-generic; KDE/5.18.0; x86_64; ; )

Paul Eggert wrote:
> @@ -119,8 +119,8 @@ GL_STACK_STORAGECLASS void
>  _GL_STACK_PREFIX (push) (_GL_STACK_TYPE *stack, GL_STACK_ELEMENT item)
>  {
>    if (stack->size == stack->allocated)
> -    stack->base = x2nrealloc (stack->base, &stack->allocated,
> -                              sizeof (GL_STACK_ELEMENT));
> +    stack->base = xpalloc (stack->base, &stack->allocated, 1, -1,
> +                           sizeof *stack->base);;

There is a stray semicolon here.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]