]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* opts.c (wrap_help): Use unsigned int, not size_t.
authorNeil Booth <neil@daikokuya.co.uk>
Tue, 8 Jul 2003 21:36:34 +0000 (21:36 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Tue, 8 Jul 2003 21:36:34 +0000 (21:36 +0000)
From-SVN: r69106

gcc/ChangeLog
gcc/opts.c

index 8135d85e73e62c0790d289631dec78a54bc24e03..4609d447aaafd0b45ce891efc6efa2ca19234e6e 100644 (file)
@@ -1,3 +1,7 @@
+2003-07-08  Neil Booth  <neil@daikokuya.co.uk>
+
+       * opts.c (wrap_help): Use unsigned int, not size_t.
+
 2003-07-08  Stephane Carrez  <stcarrez@nerim.fr>
 
        * config/m68hc11/m68hc11.h (HAVE_AS_DWARF2_DEBUG_LINE): Don't define
index ec8af200406acadbd4504390cb986a4a809ec735..052703fd94e02aa080e84282e0793e1ac76ffd7c 100644 (file)
@@ -1526,8 +1526,8 @@ print_help (void)
 static void
 wrap_help (const char *help, const char *item, size_t item_width)
 {
-  const size_t columns = 80, col_width = 27;
-  size_t remaining, room, len;
+  const unsigned int columns = 80, col_width = 27;
+  unsigned int remaining, room, len;
 
   remaining = strlen (help);
 
@@ -1538,7 +1538,7 @@ wrap_help (const char *help, const char *item, size_t item_width)
 
       if (room < len)
        {
-         size_t i;
+         unsigned int i;
 
          for (i = 0; help[i]; i++)
            {