* lib/stack.h (_GL_STACK_TYPE): Use idx_t for size too.
Suggested by Bruno Haible in:
https://lists.gnu.org/r/bug-gnulib/2022-01/msg00035.html
+2022-01-05 Paul Eggert <eggert@cs.ucla.edu>
+
+ stack: pacify gcc -Wsign-compare
+ * lib/stack.h (_GL_STACK_TYPE): Use idx_t for size too.
+ Suggested by Bruno Haible in:
+ https://lists.gnu.org/r/bug-gnulib/2022-01/msg00035.html
+
2022-01-05 Bruno Haible <bruno@clisp.org>
Fix last commit.
typedef struct
{
GL_STACK_ELEMENT *base;
- size_t size;
+ idx_t size;
idx_t allocated;
} _GL_STACK_TYPE;