[PATCH] "ulong" is not portable; use "unsigned long" instead.

kevin brintnall <[email protected]>
Newsgroups gmane.comp.db.rrdtool.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.