diff TestInitialise.cpp @ 14:e48fdc8de790

* tidier compile
author cannam
date Fri, 20 Mar 2009 13:07:28 +0000
parents 0c1c60654125
children 28097c1b3de4
line wrap: on
line diff
--- a/TestInitialise.cpp	Wed Mar 18 13:13:28 2009 +0000
+++ b/TestInitialise.cpp	Fri Mar 20 13:07:28 2009 +0000
@@ -59,14 +59,14 @@
 static const size_t _step = 1000;
 
 Test::Results
-TestSampleRates::test(string key, Options options)
+TestSampleRates::test(string key, Options)
 {
     int rates[] =
         { 1, 800, 10099, 11024, 44100, 48000, 96000, 192000, 201011, 1094091 };
 
     Results r;
 
-    for (int i = 0; i < sizeof(rates)/sizeof(rates[0]); ++i) {
+    for (int i = 0; i < int(sizeof(rates)/sizeof(rates[0])); ++i) {
     
         int rate = rates[i];
         auto_ptr<Plugin> p(load(key, rate));
@@ -100,7 +100,7 @@
 }
 
 Test::Results
-TestLengthyConstructor::test(string key, Options options)
+TestLengthyConstructor::test(string key, Options)
 {
     time_t t0 = time(0);
     auto_ptr<Plugin> p(load(key));