diff data/fileio/AudioFileReaderFactory.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 d03b3d956358
line wrap: on
line diff
--- a/data/fileio/AudioFileReaderFactory.h	Tue Jun 17 13:52:07 2014 +0100
+++ b/data/fileio/AudioFileReaderFactory.h	Tue Jun 17 14:33:42 2014 +0100
@@ -50,7 +50,7 @@
      * Caller owns the returned object and must delete it after use.
      */
     static AudioFileReader *createReader(FileSource source,
-                                         size_t targetRate = 0,
+                                         int targetRate = 0,
                                          ProgressReporter *reporter = 0);
 
     /**
@@ -75,12 +75,12 @@
      * Caller owns the returned object and must delete it after use.
      */
     static AudioFileReader *createThreadingReader(FileSource source,
-                                                  size_t targetRate = 0,
+                                                  int targetRate = 0,
                                                   ProgressReporter *reporter = 0);
 
 protected:
     static AudioFileReader *create(FileSource source,
-                                   size_t targetRate,
+                                   int targetRate,
                                    bool threading,
                                    ProgressReporter *reporter);
 };