diff transform/TransformFactory.cpp @ 137:006c90387f40

* Fix many compile warnings, remove some debug output
author Chris Cannam
date Mon, 30 Apr 2007 13:36:23 +0000
parents b4110b17bca8
children aaf806ce329a
line wrap: on
line diff
--- a/transform/TransformFactory.cpp	Mon Apr 30 09:34:13 2007 +0000
+++ b/transform/TransformFactory.cpp	Mon Apr 30 13:36:23 2007 +0000
@@ -279,7 +279,7 @@
             bool configurable = (!plugin->getPrograms().empty() ||
                                  !plugin->getParameterDescriptors().empty());
 
-            std::cerr << "Adding feature extraction plugin transform: id = " << transformId.toStdString() << std::endl;
+//            std::cerr << "Feature extraction plugin transform: " << transformId.toStdString() << std::endl;
 
 	    transforms[transformId] = 
                 TransformDesc(tr("Analysis"),
@@ -592,7 +592,7 @@
 
         if (output != "A") {
             int outputNo = output.toInt();
-            if (outputNo >= 0 && outputNo < desc->controlOutputPortCount) {
+            if (outputNo >= 0 && outputNo < int(desc->controlOutputPortCount)) {
                 outputLabel = desc->controlOutputPortNames[outputNo].c_str();
             }
         }