mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 19:56:31 +01:00
fix const-ness of names array
This commit is contained in:
parent
a01edede5e
commit
527b0a78a1
1 changed files with 1 additions and 1 deletions
|
|
@ -490,7 +490,7 @@ static void
|
||||||
note_from_int(char *buf, int note_number)
|
note_from_int(char *buf, int note_number)
|
||||||
{
|
{
|
||||||
int note, octave;
|
int note, octave;
|
||||||
char *names[] = {"C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B"};
|
const char *names[] = {"C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B"};
|
||||||
|
|
||||||
octave = note_number / 12 - 1;
|
octave = note_number / 12 - 1;
|
||||||
note = note_number % 12;
|
note = note_number % 12;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue