summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drumgizmo/output/wavfile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/drumgizmo/output/wavfile.cc b/drumgizmo/output/wavfile.cc
index 6880228..ae8b3f1 100644
--- a/drumgizmo/output/wavfile.cc
+++ b/drumgizmo/output/wavfile.cc
@@ -83,7 +83,7 @@ void WavfileOutputEngine::pre(size_t nsamples) {
void WavfileOutputEngine::run(int ch, sample_t* samples, size_t nsamples) {
if (static_cast<unsigned int>(ch) >= channels.size()) {
- printf("Invalid channel %d (%lu channels available)", ch, channels.size());
+ printf("Invalid channel %d (%d channels available)", ch, static_cast<int>(channels.size()));
return;
}