Code

"ulong" is not portable. must be unsigned long -- kevin
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Tue, 26 May 2009 15:20:05 +0000 (15:20 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Tue, 26 May 2009 15:20:05 +0000 (15:20 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1815 a5681a0c-68f1-0310-ab6d-d61299d08faa

src/rrd_restore.c

index 6a28e34a5d13ae665532a6844cc3c9b3823faaca..8f5cbcfe3196b2b07a932b1af4aab1f1a5e7df17 100644 (file)
@@ -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);