mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 11:14:00 +00:00
Fix printf format specifiers
This commit is contained in:
parent
a815cc09da
commit
9c7f3607ba
|
@ -44,12 +44,12 @@ void VLLilypondWriter::VisitMeasure(size_t m, VLProperties & p, VLMeasure & meas
|
|||
{
|
||||
char measNo[8];
|
||||
if (!(m % 4))
|
||||
sprintf(measNo, " %% %d", m+1);
|
||||
sprintf(measNo, " %% %lu", m+1);
|
||||
else
|
||||
measNo[0] = 0;
|
||||
|
||||
fUseSharps = p.fKey > 0;
|
||||
if (fInPickup = fInPickup && !m && meas.NoChords())
|
||||
if (fInPickup && !m && meas.NoChords())
|
||||
++fPrevBreak;
|
||||
|
||||
//
|
||||
|
|
|
@ -32,7 +32,7 @@ void VLMMAWriter::VisitMeasure(size_t m, VLProperties & p, VLMeasure & meas)
|
|||
|
||||
if (p.fKey != fKey) {
|
||||
fKey = p.fKey;
|
||||
sprintf(buf, "KeySig %d%c\n", labs(fKey), fKey>=0 ? '#' : '&');
|
||||
sprintf(buf, "KeySig %ld%c\n", labs(fKey), fKey>=0 ? '#' : '&');
|
||||
fMeasures += buf;
|
||||
}
|
||||
if (!fPreview && p.fGroove != fGroove) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user