(quotearg_n_options): Declare n1 to be of type
[gnulib.git] / lib / quotearg.c
index e1a6f93..90d0556 100644 (file)
@@ -313,7 +313,7 @@ quotearg_n_options (unsigned int n, char const *arg,
 
   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 ();