1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-21 02:17:08 +00:00

Commutes int and unsigned casts to the functional style.

This commit is contained in:
Thomas Harte
2017-10-21 21:00:40 -04:00
parent 5e3e91373a
commit ec999446e8
21 changed files with 118 additions and 118 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ Storage::Disk::PCMSegment Storage::Disk::track_serialisation(Track &track, Time
Time extended_length = next_event.length * length_multiplier + time_error;
time_error.clock_rate = extended_length.clock_rate;
time_error.length = extended_length.length % extended_length.clock_rate;
pll.run_for(Cycles((int)extended_length.get_unsigned_int()));
pll.run_for(Cycles(static_cast<int>(extended_length.get_unsigned_int())));
pll.add_pulse();
// If the PLL is now sufficiently primed, restart, and start recording bits this time.