[rrd-developers] [PATCH] "ulong" is not portable.
kevin brintnall
kbrint at rufus.net
Tue May 26 15:08:12 CEST 2009
---
src/rrd_restore.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/rrd_restore.c b/src/rrd_restore.c
index 6a28e34..73f528e 100644
--- a/src/rrd_restore.c
+++ b/src/rrd_restore.c
@@ -219,11 +219,11 @@ static int get_xml_long(
static int get_xml_ulong(
xmlTextReaderPtr reader,
- ulong *value)
+ unsigned long *value)
{
xmlChar *text;
- ulong temp;
+ unsigned long temp;
if ((text = get_xml_text(reader)) != NULL){
errno = 0;
temp = strtoul((char *)text,NULL, 0);
--
1.6.2.2
More information about the rrd-developers
mailing list