[rrd-developers] [PATCH] "ulong" is not portable; use "unsigned long" instead.
kevin brintnall
kbrint at rufus.net
Fri Sep 24 09:27:11 CEST 2010
If r2130 commit doesn't get reverted, this should be applied for portability.
---
src/rrd_daemon.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/rrd_daemon.c b/src/rrd_daemon.c
index bfcf6a3..2167947 100644
--- a/src/rrd_daemon.c
+++ b/src/rrd_daemon.c
@@ -1809,7 +1809,7 @@ static int handle_request_create (HANDLER_PROTO) /* {{{ */
int ac = 0;
char *av[128];
int status;
- ulong step = 300;
+ unsigned long step = 300;
time_t last_up = time(NULL)-10;
rrd_time_value_t last_up_tv;
char *parsetime_error = NULL;
--
1.7.2.3
More information about the rrd-developers
mailing list