diff options
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) { |