diff options
author | Jim Meyering <jim@meyering.net> | 2002-11-21 13:17:47 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-11-21 13:17:47 +0000 |
commit | 44ad4f8ed4083734520f0069c501480fc147d07c (patch) | |
tree | b0b3f60921a1e94c5d38cca73355e166cec2674c /lib | |
parent | b38b96b80cee08394b1729638693abd348e8e799 (diff) | |
download | coreutils-44ad4f8ed4083734520f0069c501480fc147d07c.tar.xz |
(str2signum): Use unsigned, not size_t.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sig2str.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sig2str.c b/lib/sig2str.c index 8caa0992c..f1eec22bf 100644 --- a/lib/sig2str.c +++ b/lib/sig2str.c @@ -270,7 +270,7 @@ str2signum (char const *signame) } else { - size_t i; + unsigned i; for (i = 0; i < NUMNAME_ENTRIES; i++) if (strcmp (numname_table[i].name, signame) == 0) return numname_table[i].num; @@ -315,7 +315,7 @@ str2sig (char const *signame, int *signum) int sig2str (int signum, char *signame) { - size_t i; + unsigned i; for (i = 0; i < NUMNAME_ENTRIES; i++) if (numname_table[i].num == signum) { |