summaryrefslogtreecommitdiff
path: root/src/ln.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-02-03 20:22:58 +0000
committerJim Meyering <jim@meyering.net>2001-02-03 20:22:58 +0000
commitd622232fb2dd23c93d1d64cb9f124541db7574eb (patch)
treef0ee910742f70a208e628feec573994b2b4e3006 /src/ln.c
parent6aca235a6fb9a583cb3716567cb998e7f16f8954 (diff)
downloadcoreutils-d622232fb2dd23c93d1d64cb9f124541db7574eb.tar.xz
(main): Change type of index variable to `unsigned int' to avoid a warning.
Diffstat (limited to 'src/ln.c')
-rw-r--r--src/ln.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ln.c b/src/ln.c
index 6c01e7fe3..21f55dcd6 100644
--- a/src/ln.c
+++ b/src/ln.c
@@ -1,5 +1,5 @@
/* `ln' program to create links between files.
- Copyright (C) 86, 89, 90, 91, 1995-2000 Free Software Foundation, Inc.
+ Copyright (C) 86, 89, 90, 91, 1995-2001 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -520,7 +520,7 @@ main (int argc, char **argv)
if (target_directory_specified || n_files > 2)
{
- int i;
+ unsigned int i;
unsigned int last_file_idx = (target_directory_specified
? n_files - 1
: n_files - 2);