aboutsummaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2003-07-08 21:36:34 +0000
committerNeil Booth <neil@gcc.gnu.org>2003-07-08 21:36:34 +0000
commit2178981638d63acbadf6d4a19e3ecb97df8ee14f (patch)
treeb05b66e082a8ee1da6fb50f40b1c4141da005e59 /gcc/opts.c
parente55dc371ca07d4e075f53a8f2d9d205bdac3bca6 (diff)
downloadgcc-2178981638d63acbadf6d4a19e3ecb97df8ee14f.zip
gcc-2178981638d63acbadf6d4a19e3ecb97df8ee14f.tar.gz
gcc-2178981638d63acbadf6d4a19e3ecb97df8ee14f.tar.bz2
* opts.c (wrap_help): Use unsigned int, not size_t.
From-SVN: r69106
Diffstat (limited to 'gcc/opts.c')
-rw-r--r--gcc/opts.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index ec8af20..052703f 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -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++)
{