From 9c8b4f051ae56fa7ec4b30ed45836e9715fb3cc9 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sat, 28 Jan 2006 19:22:08 +0000 Subject: Fix compile time warnings. --- daemon/rrd-update.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'daemon/rrd-update.c') diff --git a/daemon/rrd-update.c b/daemon/rrd-update.c index 295eea6..ca8d71b 100644 --- a/daemon/rrd-update.c +++ b/daemon/rrd-update.c @@ -43,6 +43,8 @@ #include #include +#include + #include "rrdbotd.h" #define MAX_NUMLEN 40 @@ -120,7 +122,7 @@ void rb_rrd_update(rb_poller *poll) rb_messagex(LOG_DEBUG, "> values: %s", items); rrd_clear_error(); - r = rrd_update(5, argv); + r = rrd_update(5, (char**)argv); if(r != 0) rb_messagex(LOG_ERR, "couldn't update rrd file: %s: %s", -- cgit v1.2.3