diff options
author | Jim Meyering <jim@meyering.net> | 1999-01-16 15:55:20 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-01-16 15:55:20 +0000 |
commit | b76f341922eca4cbb9fd20597041c90d552846b5 (patch) | |
tree | 5644c95693299c53a13763adf7979eb3a70ffe8a /lib | |
parent | 10f96d621cbed503b520b7dabd52f6ba89a118ae (diff) | |
download | coreutils-b76f341922eca4cbb9fd20597041c90d552846b5.tar.xz |
(quotearg_n_options): Declare n1 to be of type
unsigned int, not just int.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/quotearg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/quotearg.c b/lib/quotearg.c index e1a6f9356..90d0556d4 100644 --- a/lib/quotearg.c +++ b/lib/quotearg.c @@ -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 (); |