diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-10-08 22:49:45 +0200 |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-10-08 22:49:45 +0200 |
commit | b053278b186b4b9dfacff53b30cc2c7967923724 (patch) | |
tree | ef8a647e8ad1ec57d7a50d7bd763dfff54a0ef77 | |
parent | 9426b9a33828c19188d6928ac862dd3179e44e68 (diff) | |
download | monitoring-plugins-b053278b186b4b9dfacff53b30cc2c7967923724.tar.gz |
fix sign compare compiler warnings
-rw-r--r-- | plugins-root/check_icmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c index abc55952..f21bf3be 100644 --- a/plugins-root/check_icmp.c +++ b/plugins-root/check_icmp.c | |||
@@ -1053,9 +1053,9 @@ wait_for_reply(int sock, u_int t) | |||
1053 | host->time_waited += tdiff; | 1053 | host->time_waited += tdiff; |
1054 | host->icmp_recv++; | 1054 | host->icmp_recv++; |
1055 | icmp_recv++; | 1055 | icmp_recv++; |
1056 | if (tdiff > (int)host->rtmax) | 1056 | if (tdiff > (unsigned int)host->rtmax) |
1057 | host->rtmax = tdiff; | 1057 | host->rtmax = tdiff; |
1058 | if (tdiff < (int)host->rtmin) | 1058 | if (tdiff < (unsigned int)host->rtmin) |
1059 | host->rtmin = tdiff; | 1059 | host->rtmin = tdiff; |
1060 | 1060 | ||
1061 | if(debug) { | 1061 | if(debug) { |