diff rdf/RDFFeatureWriter.cpp @ 602:02d9664906e8

* Fixes to gcc-4.4 thanks to Michel Salim
author Chris Cannam
date Mon, 24 Aug 2009 16:07:23 +0000
parents f3211e01b315
children 133418f4e74c
line wrap: on
line diff
--- a/rdf/RDFFeatureWriter.cpp	Tue Aug 18 11:08:29 2009 +0000
+++ b/rdf/RDFFeatureWriter.cpp	Mon Aug 24 16:07:23 2009 +0000
@@ -319,7 +319,7 @@
 
     // Note reviewFileForAppending above (when opening in append mode)
 
-    uint64_t signalCount = m_count++;
+    unsigned long signalCount = m_count++;
 
     if (m_trackSignalURIs.find(trackId) == m_trackSignalURIs.end()) {
         m_trackSignalURIs[trackId] = QString(":signal_%1").arg(signalCount);
@@ -537,7 +537,7 @@
     for (int i = 0; i < featureList.size(); ++i) {
 
         const Plugin::Feature &feature = featureList[i];
-        uint64_t featureNumber = m_count++;
+        unsigned long featureNumber = m_count++;
 
         stream << ":event_" << featureNumber << " a ";
 
@@ -671,7 +671,7 @@
         bool plain = (m_plain || !desc.haveDescription());
         QString outputId = od.identifier.c_str();
 
-        uint64_t featureNumber = m_count++;
+        unsigned long featureNumber = m_count++;
 
         // need to write out feature timeline map -- for this we need
         // the sample rate, window length and hop size from the