diff data/fileio/DataFileReaderFactory.h @ 929:59e7fe1b1003 warnfix_no_size_t

Unsigned removals and warning fixes in data/
author Chris Cannam
date Tue, 17 Jun 2014 14:33:42 +0100
parents 183ee2a55fc7
children 26cf6d5251ec
line wrap: on
line diff
--- a/data/fileio/DataFileReaderFactory.h	Tue Jun 17 13:52:07 2014 +0100
+++ b/data/fileio/DataFileReaderFactory.h	Tue Jun 17 14:33:42 2014 +0100
@@ -48,7 +48,7 @@
      */
     static DataFileReader *createReader(QString path,
                                         MIDIFileImportPreferenceAcquirer *,
-					size_t mainModelSampleRate);
+					int mainModelSampleRate);
 
     /**
      * Read the given path, if a suitable reader is available.
@@ -60,7 +60,7 @@
      */
     static Model *load(QString path,
                        MIDIFileImportPreferenceAcquirer *acquirer,
-                       size_t mainModelSampleRate);
+                       int mainModelSampleRate);
 
     /**
      * Read the given path, if a suitable reader is available.
@@ -69,7 +69,7 @@
      */
     static Model *loadNonCSV(QString path,
                              MIDIFileImportPreferenceAcquirer *acquirer,
-                             size_t mainModelSampleRate);
+                             int mainModelSampleRate);
 
     /**
      * Read the given path using the CSV reader with the given format.
@@ -77,13 +77,13 @@
      */
     static Model *loadCSV(QString path,
                           CSVFormat format,
-                          size_t mainModelSampleRate);
+                          int mainModelSampleRate);
 
 protected:
     static DataFileReader *createReader(QString path, bool csv,
                                         MIDIFileImportPreferenceAcquirer *,
                                         CSVFormat format,
-					size_t mainModelSampleRate);
+					int mainModelSampleRate);
 };
 
 #endif