From b338b730db02211d5312cb1eda3d9c87f9ca7efa Mon Sep 17 00:00:00 2001 From: Stepland <16676308+Stepland@users.noreply.github.com> Date: Wed, 19 Feb 2020 17:30:22 +0100 Subject: [PATCH] Add explicit casts for note parsing --- src/Data/Chart.cpp | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/src/Data/Chart.cpp b/src/Data/Chart.cpp index b167429..6f6d8f6 100644 --- a/src/Data/Chart.cpp +++ b/src/Data/Chart.cpp @@ -22,13 +22,13 @@ namespace Data { 0.f, (60.f/memon.BPM)*300.f ); for (auto &¬e : chart.notes) { - auto timing = static_cast(memon_timing_to_300Hz.transform(note.get_timing())); + auto timing = static_cast(memon_timing_to_300Hz.transform(note.get_timing())); auto position = static_cast