diff options
author | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-09 18:30:17 +0000 |
---|---|---|
committer | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-09 18:30:17 +0000 |
commit | 9f1903d96cccc7cb2f456d68d31446fa739905f7 (patch) | |
tree | 1c30a654f041dbb7614a2f8d64243b2e40336e0a /muse2/muse/dssihost.cpp | |
parent | 703f47458a859c9559c13038246dd37529eba6ff (diff) |
Fix compiler warnings, and a typo in the transport max slider value.
Diffstat (limited to 'muse2/muse/dssihost.cpp')
-rw-r--r-- | muse2/muse/dssihost.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/muse2/muse/dssihost.cpp b/muse2/muse/dssihost.cpp index dc7f0cf2..cb94f7ca 100644 --- a/muse2/muse/dssihost.cpp +++ b/muse2/muse/dssihost.cpp @@ -437,7 +437,7 @@ static void scanDSSIDir(QString& s) // ddskrjo removed const for argument //} QStringList list = pluginDir.entryList(); - for(unsigned int i = 0; i < list.count(); ++i) + for(int i = 0; i < list.count(); ++i) { if(debugMsg) printf("scanDSSIDir: found %s\n", (s + QString("/") + list[i]).toLatin1().constData()); @@ -2552,7 +2552,7 @@ int DssiSynthIF::oscControl(unsigned long port, float value) if(port >= synth->rpIdx.size()) { //fprintf(stderr, "DssiSynthIF::oscControl: port number:%d is out of range of number of ports:%d\n", port, controlPorts); - fprintf(stderr, "DssiSynthIF::oscControl: port number:%ld is out of range of index list size:%d\n", port, synth->rpIdx.size()); + fprintf(stderr, "DssiSynthIF::oscControl: port number:%ld is out of range of index list size:%zd\n", port, synth->rpIdx.size()); return 0; } |