mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-14 10:36:34 +01:00
add -Wpointer-arith -Wcast-qual -Wcast-align and others to compile flags, and fix const cast warnings generated by new flags
git-svn-id: svn://localhost/ardour2/branches/3.0@13124 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
69ca705286
commit
760ccbabfb
16 changed files with 37 additions and 24 deletions
|
|
@ -361,7 +361,7 @@ SMFSource::append_event_unlocked_frames (const Evoral::Event<framepos_t>& ev, fr
|
|||
const Evoral::Event<double> beat_ev (ev.event_type(),
|
||||
ev_time_beats,
|
||||
ev.size(),
|
||||
(uint8_t*)ev.buffer());
|
||||
const_cast<uint8_t*>(ev.buffer()));
|
||||
_model->append (beat_ev, event_id);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue