diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-11-12 05:53:06 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-11-12 05:53:06 +0000 |
commit | 95c6a6d05d6638ca0043620df21a0967e17be4d3 (patch) | |
tree | 7bef3c9b96ea7180174f78978131d632c507550a /plugins/check_mrtg.c | |
parent | 7626b3413d1d84aa1768ad47626d044cf3f2791a (diff) | |
download | monitoring-plugins-95c6a6d05d6638ca0043620df21a0967e17be4d3.tar.gz |
clean up compiler warnings
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@767 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_mrtg.c')
-rw-r--r-- | plugins/check_mrtg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_mrtg.c b/plugins/check_mrtg.c index 5924f179..e1382644 100644 --- a/plugins/check_mrtg.c +++ b/plugins/check_mrtg.c @@ -140,9 +140,9 @@ main (int argc, char **argv) asprintf (&message, "%s. %s = %lu %s|%s", (use_average == TRUE) ? _("Avg") : _("Max"), label, rate, units, - perfdata(label, rate, units, - value_warning_threshold, value_warning_threshold, - value_critical_threshold, value_critical_threshold, + perfdata(label, (long) rate, units, + (int) value_warning_threshold, (long) value_warning_threshold, + (int) value_critical_threshold, (long) value_critical_threshold, 0, 0, 0, 0)); } |