Mercurial > hg > svcore
diff plugin/DSSIPluginFactory.cpp @ 259:dc46851837d6
* Fix many compile warnings, remove some debug output
author | Chris Cannam |
---|---|
date | Mon, 30 Apr 2007 13:36:23 +0000 |
parents | bf753a9abf0c |
children | 65311fb86166 |
line wrap: on
line diff
--- a/plugin/DSSIPluginFactory.cpp Mon Apr 30 09:07:42 2007 +0000 +++ b/plugin/DSSIPluginFactory.cpp Mon Apr 30 13:36:23 2007 +0000 @@ -360,7 +360,7 @@ defs = lrdf_get_setting_values(def_uri); } - int controlPortNumber = 1; + unsigned int controlPortNumber = 1; for (unsigned long i = 0; i < ladspaDescriptor->PortCount; i++) { @@ -368,7 +368,7 @@ if (def_uri && defs) { - for (int j = 0; j < defs->count; j++) { + for (unsigned int j = 0; j < defs->count; j++) { if (defs->items[j].pid == controlPortNumber) { // std::cerr << "Default for this port (" << defs->items[j].pid << ", " << defs->items[j].label << ") is " << defs->items[j].value << "; applying this to port number " << i << " with name " << ladspaDescriptor->PortNames[i] << std::endl; m_portDefaults[ladspaDescriptor->UniqueID][i] =