ports/print/lilypond/files/patch-lily_midi-item.cc
Fernando Apesteguía a9836c7b0b print/lilypond: update to 2.21.82
Remove deprecated dependency on Python 2.7

ChangeLog:
http://lilypond.org/news.html#LilyPond-2_002e21_005e82-released-December-15_002c-2020

PR:	252215
Submitted by:	m.ne@gmx.net (maintainer)
2020-12-28 13:39:55 +00:00

12 lines
439 B
C++

--- lily/midi-item.cc.orig 2020-04-29 11:39:18 UTC
+++ lily/midi-item.cc
@@ -319,7 +319,7 @@ Midi_text::Midi_text (Audio_text *a)
string
Midi_text::to_string () const
{
- uint8_t text_code[] = {0xff, audio_->type_};
+ uint8_t text_code[] = {0xff, uint8_t (audio_->type_)};
string str ((char *) text_code, sizeof (text_code));
str += int2midi_varint_string (int (audio_->text_string_.length ()));
str += audio_->text_string_;