Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
bostick committed Oct 30, 2024
1 parent 9d09d6d commit 1414d5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/tablature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1189,7 +1189,7 @@ TtbtFileTablature(const tbt_file_t &t) {

notesAndBarLines[string] += effectBeforeStr;

notesAndBarLinesWidthAcc[string] += (effectBeforeStr.size());
notesAndBarLinesWidthAcc[string] += static_cast<uint8_t>(effectBeforeStr.size());
}

//
Expand Down Expand Up @@ -1261,7 +1261,7 @@ TtbtFileTablature(const tbt_file_t &t) {

trackEffectChanges += trackEffectChangesStr;

trackEffectChangesWidthAcc += (trackEffectChangesStr.size());
trackEffectChangesWidthAcc += static_cast<uint8_t>(trackEffectChangesStr.size());
}

} else {
Expand Down Expand Up @@ -1682,7 +1682,7 @@ TtbtFileTablature(const tbt_file_t &t) {
{
repeatsCount += repeatsStr;

repeatsCountWidthAcc += (repeatsStr.size());
repeatsCountWidthAcc += static_cast<uint8_t>(repeatsStr.size());
}

//
Expand Down

0 comments on commit 1414d5e

Please sign in to comment.