From: oetiker Date: Tue, 26 May 2009 15:20:05 +0000 (+0000) Subject: "ulong" is not portable. must be unsigned long -- kevin X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=commitdiff_plain;h=9fe4a750365ff606ee6a304cc2d24f9cbf9e6f97 "ulong" is not portable. must be unsigned long -- kevin git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1815 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_restore.c b/src/rrd_restore.c index 6a28e34..8f5cbcf 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);