25e6cf8
diff -rupN muse.old/muse/audiotrack.cpp muse/muse/audiotrack.cpp
25e6cf8
--- muse.old/muse/audiotrack.cpp	2009-02-02 16:37:59.000000000 -0500
25e6cf8
+++ muse/muse/audiotrack.cpp	2009-02-15 12:51:52.000000000 -0500
25e6cf8
@@ -633,7 +633,7 @@ void AudioTrack::setVolume(double val)
25e6cf8
       {
25e6cf8
       iCtrlList cl = _controller.find(AC_VOLUME);
25e6cf8
       if (cl == _controller.end()) {
25e6cf8
-            printf("no volume controller %s %d\n",
25e6cf8
+            printf("no volume controller %s %zd\n",
25e6cf8
                name().latin1(), _controller.size());
25e6cf8
             return;
25e6cf8
             }
25e6cf8
@@ -1477,7 +1477,7 @@ bool AudioTrack::setRecordFlag1(bool f)
25e6cf8
 double AudioTrack::auxSend(int idx) const
25e6cf8
       {
25e6cf8
       if (unsigned(idx) >= _auxSend.size()) {
25e6cf8
-            printf("%s auxSend: bad index: %d >= %d\n",
25e6cf8
+            printf("%s auxSend: bad index: %d >= %zd\n",
25e6cf8
                name().latin1(), idx, _auxSend.size());
25e6cf8
             return 0.0;
25e6cf8
             }
25e6cf8
@@ -1487,7 +1487,7 @@ double AudioTrack::auxSend(int idx) cons
25e6cf8
 void AudioTrack::setAuxSend(int idx, double v)
25e6cf8
       {
25e6cf8
       if (unsigned(idx) >= _auxSend.size()) {
25e6cf8
-            printf("%s setAuxSend: bad index: %d >= %d\n",
25e6cf8
+            printf("%s setAuxSend: bad index: %d >= %zd\n",
25e6cf8
                name().latin1(), idx, _auxSend.size());
25e6cf8
             return;
25e6cf8
             }
25e6cf8
diff -rupN muse.old/muse/importmidi.cpp muse/muse/importmidi.cpp
25e6cf8
--- muse.old/muse/importmidi.cpp	2009-02-02 16:37:59.000000000 -0500
25e6cf8
+++ muse/muse/importmidi.cpp	2009-02-15 12:50:31.000000000 -0500
25e6cf8
@@ -363,7 +363,7 @@ void MusE::processTrack(MidiTrack* track
25e6cf8
             }
25e6cf8
 
25e6cf8
       if (tevents->size())
25e6cf8
-            printf("-----------events left: %d\n", tevents->size());
25e6cf8
+            printf("-----------events left: %zd\n", tevents->size());
25e6cf8
       for (iEvent i = tevents->begin(); i != tevents->end(); ++i) {
25e6cf8
             printf("%d===\n", i->first);
25e6cf8
             i->second.dump();
25e6cf8
diff -rupN muse.old/muse/memory.h muse/muse/memory.h
25e6cf8
--- muse.old/muse/memory.h	2008-08-17 20:15:23.000000000 -0400
25e6cf8
+++ muse/muse/memory.h	2009-02-15 12:24:03.000000000 -0500
25e6cf8
@@ -52,7 +52,7 @@ inline void* Pool::alloc(size_t n)
25e6cf8
       {
25e6cf8
       int idx = ((n + sizeof(int) - 1) / sizeof(int)) - 1;
25e6cf8
       if (idx >= dimension) {
25e6cf8
-            printf("panic: alloc %d\n", n);
25e6cf8
+            printf("panic: alloc %zd\n", n);
25e6cf8
             exit(-1);
25e6cf8
             }
25e6cf8
       if (head[idx] == 0)
25e6cf8
@@ -70,7 +70,7 @@ inline void Pool::free(void* b, size_t n
25e6cf8
       {
25e6cf8
       int idx = ((n + sizeof(int) - 1) / sizeof(int)) - 1;
25e6cf8
       if (idx >= dimension) {
25e6cf8
-            printf("panic: alloc %d\n", n);
25e6cf8
+            printf("panic: alloc %zd\n", n);
25e6cf8
             exit(-1);
25e6cf8
             }
25e6cf8
       Verweis* p = static_cast<Verweis*>(b);
25e6cf8
diff -rupN muse.old/muse/midictrl.cpp muse/muse/midictrl.cpp
25e6cf8
--- muse.old/muse/midictrl.cpp	2009-02-09 20:18:57.000000000 -0500
25e6cf8
+++ muse/muse/midictrl.cpp	2009-02-15 12:53:35.000000000 -0500
25e6cf8
@@ -626,7 +626,7 @@ void MidiCtrlValList::delMCtlVal(int tic
25e6cf8
       iMidiCtrlVal e = findMCtlVal(tick, part);
25e6cf8
       if (e == end()) {
25e6cf8
             if(debugMsg)
25e6cf8
-              printf("MidiCtrlValList::delMCtlVal(%d): not found (size %d)\n", tick, size());
25e6cf8
+              printf("MidiCtrlValList::delMCtlVal(%d): not found (size %zd)\n", tick, size());
25e6cf8
             return;
25e6cf8
             }
25e6cf8
       erase(e);
25e6cf8
diff -rupN muse.old/muse/midiport.cpp muse/muse/midiport.cpp
25e6cf8
--- muse.old/muse/midiport.cpp	2009-02-04 21:36:18.000000000 -0500
25e6cf8
+++ muse/muse/midiport.cpp	2009-02-15 12:47:29.000000000 -0500
25e6cf8
@@ -690,7 +690,7 @@ int MidiPort::getCtrl(int ch, int tick, 
25e6cf8
       iMidiCtrlValList cl = _controller->find(ch, ctrl);
25e6cf8
       if (cl == _controller->end()) {
25e6cf8
             if (debugMsg)
25e6cf8
-                  printf("getCtrl: controller %d(0x%x) for channel %d not found size %d\n",
25e6cf8
+                  printf("getCtrl: controller %d(0x%x) for channel %d not found size %zd\n",
25e6cf8
                      ctrl, ctrl, ch, _controller->size());
25e6cf8
             return CTRL_VAL_UNKNOWN;
25e6cf8
             }
25e6cf8
@@ -715,7 +715,7 @@ void MidiPort::deleteController(int ch, 
25e6cf8
       iMidiCtrlValList cl = _controller->find(ch, ctrl);
25e6cf8
       if (cl == _controller->end()) {
25e6cf8
             if (debugMsg)
25e6cf8
-                  printf("deleteController: controller %d(0x%x) for channel %d not found size %d\n",
25e6cf8
+                  printf("deleteController: controller %d(0x%x) for channel %d not found size %zd\n",
25e6cf8
                      ctrl, ctrl, ch, _controller->size());
25e6cf8
             return;
25e6cf8
             }
25e6cf8
diff -rupN muse.old/muse/sig.cpp muse/muse/sig.cpp
25e6cf8
--- muse.old/muse/sig.cpp	2004-12-12 14:54:29.000000000 -0500
25e6cf8
+++ muse/muse/sig.cpp	2009-02-15 12:46:02.000000000 -0500
25e6cf8
@@ -212,7 +212,7 @@ void SigList::tickValues(unsigned t, int
25e6cf8
       {
25e6cf8
       ciSigEvent e = upper_bound(t);
25e6cf8
       if (e == end()) {
25e6cf8
-            fprintf(stderr, "tickValues(0x%x) not found(%d)\n", t, size());
25e6cf8
+            fprintf(stderr, "tickValues(0x%x) not found(%zd)\n", t, size());
25e6cf8
             // abort();
25e6cf8
             *bar = 0;
25e6cf8
             *beat = 0;
25e6cf8
diff -rupN muse.old/muse/song.cpp muse/muse/song.cpp
25e6cf8
--- muse.old/muse/song.cpp	2009-02-02 16:38:00.000000000 -0500
25e6cf8
+++ muse/muse/song.cpp	2009-02-15 12:53:04.000000000 -0500
25e6cf8
@@ -281,7 +281,7 @@ void Song::changeEvent(Event& oldEvent, 
25e6cf8
       iEvent i = part->events()->find(oldEvent);
25e6cf8
       
25e6cf8
       if (i == part->events()->end()) {
25e6cf8
-            printf("Song::changeEvent(): EVENT not found !! %d\n", part->events()->size());
25e6cf8
+            printf("Song::changeEvent(): EVENT not found !! %zd\n", part->events()->size());
25e6cf8
             // abort();
25e6cf8
             // Removed by T356. Allow it to add the new event. 
25e6cf8
             // (And remove the old one from the midi port controller!)
25e6cf8
diff -rupN muse.old/muse/synth.cpp muse/muse/synth.cpp
25e6cf8
--- muse.old/muse/synth.cpp	2009-02-02 16:38:00.000000000 -0500
25e6cf8
+++ muse/muse/synth.cpp	2009-02-15 12:46:21.000000000 -0500
25e6cf8
@@ -385,7 +385,7 @@ void initMidiSynth()
25e6cf8
                   ++it;
25e6cf8
                   }
25e6cf8
             if (debugMsg)
25e6cf8
-                  printf("%d soft synth found\n", synthis.size());
25e6cf8
+                  printf("%zd soft synth found\n", synthis.size());
25e6cf8
             }
25e6cf8
       }
25e6cf8
 
25e6cf8
diff -rupN muse.old/muse/track.cpp muse/muse/track.cpp
25e6cf8
--- muse.old/muse/track.cpp	2009-02-02 16:38:00.000000000 -0500
25e6cf8
+++ muse/muse/track.cpp	2009-02-15 12:52:33.000000000 -0500
25e6cf8
@@ -186,7 +186,7 @@ void Track::clearRecAutomation(bool clea
25e6cf8
 
25e6cf8
 void Track::dump() const
25e6cf8
       {
25e6cf8
-      printf("Track <%s>: typ %d, parts %d sel %d\n",
25e6cf8
+      printf("Track <%s>: typ %d, parts %zd sel %d\n",
25e6cf8
          _name.latin1(), _type, _parts.size(), _selected);
25e6cf8
       }
25e6cf8
 
25e6cf8
diff -rupN muse.old/synti/simpledrums/simpledrums.cpp muse/synti/simpledrums/simpledrums.cpp
25e6cf8
--- muse.old/synti/simpledrums/simpledrums.cpp	2009-02-02 16:38:02.000000000 -0500
25e6cf8
+++ muse/synti/simpledrums/simpledrums.cpp	2009-02-15 12:45:10.000000000 -0500
25e6cf8
@@ -1041,10 +1041,10 @@ void SimpleSynth::parseInitData(const un
25e6cf8
 
25e6cf8
                if (SS_DEBUG_INIT) {
25e6cf8
                      printf("Channel %d:\n", ch);
25e6cf8
-                     printf("buffer[%d] - channels[ch].volume_ctrlval = \t%d\n", ptr-data, *ptr);
25e6cf8
-                     printf("buffer[%d] - channels[ch].pan = \t\t%d\n", ptr-data+1, *(ptr+1));
25e6cf8
-                     printf("buffer[%d] - channels[ch].noteoff_ignore = \t%d\n", ptr-data+2, *(ptr+2));
25e6cf8
-                     printf("buffer[%d] - channels[ch].channel_on = \t%d\n", ptr-data+3, *(ptr+3));
25e6cf8
+                     printf("buffer[%zd] - channels[ch].volume_ctrlval = \t%d\n", ptr-data, *ptr);
25e6cf8
+                     printf("buffer[%zd] - channels[ch].pan = \t\t%d\n", ptr-data+1, *(ptr+1));
25e6cf8
+                     printf("buffer[%zd] - channels[ch].noteoff_ignore = \t%d\n", ptr-data+2, *(ptr+2));
25e6cf8
+                     printf("buffer[%zd] - channels[ch].channel_on = \t%d\n", ptr-data+3, *(ptr+3));
25e6cf8
                      }
25e6cf8
                updateVolume(ch, *(ptr));
25e6cf8
                guiUpdateVolume(ch, *(ptr));
25e6cf8
@@ -1118,7 +1118,7 @@ void SimpleSynth::parseInitData(const un
25e6cf8
 
25e6cf8
       for (int i=0; i
25e6cf8
             if (SS_DEBUG_INIT)
25e6cf8
-                  printf("buffer[%d] - sendeffect[%d], labelnamelen=%d\n", ptr-data, i, *ptr);
25e6cf8
+                  printf("buffer[%zd] - sendeffect[%d], labelnamelen=%d\n", ptr-data, i, *ptr);
25e6cf8
             int labelnamelen = *(ptr);
25e6cf8
 
25e6cf8
             if (labelnamelen != SS_NO_PLUGIN) {
25e6cf8
@@ -1149,7 +1149,7 @@ void SimpleSynth::parseInitData(const un
25e6cf8
 
25e6cf8
                   for (int j=0; j
25e6cf8
                         if (SS_DEBUG_INIT)
25e6cf8
-                              printf("buffer[%d] - sendeffect[%d], parameter[%d]=%d\n", ptr-data, i, j, *ptr);
25e6cf8
+                              printf("buffer[%zd] - sendeffect[%d], parameter[%d]=%d\n", ptr-data, i, j, *ptr);
25e6cf8
                         setFxParameter(i, j, sendEffects[i].plugin->convertGuiControlValue(j, *(ptr)));
25e6cf8
                         ptr++;
25e6cf8
                         }