summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins-root/check_icmp.c4
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) {