# HG changeset patch # User Jim Meyering # Date 916502120 0 # Node ID aa48c337484893acbfe38b5ccbb4767ec80f1838 # Parent ec0e9143c51f1d1f894a9da77bcc39ea1ccf8cae (quotearg_n_options): Declare n1 to be of type unsigned int, not just int. diff --git a/lib/quotearg.c b/lib/quotearg.c --- a/lib/quotearg.c +++ b/lib/quotearg.c @@ -313,7 +313,7 @@ if (nslots <= n) { - int n1 = n + 1; + unsigned int n1 = n + 1; size_t s = n1 * sizeof (struct slotvec); if (! (0 < n1 && n1 == s / sizeof (struct slotvec))) abort ();