use aligned malloc for luaDSP
[ardour.git] / libs / ardour / midi_scene_change.cc
index c10ca74904391d1a6db965663ff1dab867304e84..9304a6432322539acf417fbabca6e169ec57d219 100644 (file)
@@ -77,7 +77,7 @@ MIDISceneChange::get_bank_lsb_message (uint8_t* buf, size_t size) const
 
        buf[0] = 0xB0 | (_channel & 0xf);
        buf[1] = 0x20;
-       buf[2] = _bank & 0x7f;  
+       buf[2] = _bank & 0x7f;
 
        return 3;
 }
@@ -123,7 +123,7 @@ MIDISceneChange::set_state (const XMLNode& node, int /* version-ignored */)
                return -1;
        }
 
-       const XMLProperty* prop;
+       XMLProperty const * prop;
 
        if ((prop = node.property (X_("program"))) == 0) {
                return -1;
@@ -174,5 +174,5 @@ MIDISceneChange::set_bank (int bank)
 {
         _bank = bank;
 }
-      
+