X-Git-Url: https://git.sesse.net/?p=c64tapwav;a=blobdiff_plain;f=synth.cpp;h=90c16e05d956d055e2fead4f1d01b78d1626a470;hp=4c039c23275c721ea6c196aed4e37b5801790862;hb=866751f2909657ee7d62f936e3d2cb2ecb7806fb;hpb=02cfbb7d322c6a683924ceb3b6277fca33c6b97e;ds=sidebyside diff --git a/synth.cpp b/synth.cpp index 4c039c2..90c16e0 100644 --- a/synth.cpp +++ b/synth.cpp @@ -127,7 +127,7 @@ vector synth(const vector &pulses) int len_samples = int(ceil(pulses.back().start + (pulses.back().end - pulses.back().start) * 2)); - fprintf(stderr, "%d pulses, total %.2f seconds (%d samples)\n", pulses.size(), len_samples / float(WAVE_FREQ), len_samples); + fprintf(stderr, "%d pulses, total %.2f seconds (%d samples)\n", int(pulses.size()), len_samples / float(WAVE_FREQ), len_samples); int pulse_begin = 0;