From 4b0af87c1edce20481b457a3dd4e0d92537a69a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Gl=C3=B6ckner?= Date: Thu, 21 Jan 2016 18:33:53 +0100 Subject: fixed size_t print --- drumgizmo/output/wavfile.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(ch) >= channels.size()) { - printf("Invalid channel %d (%lu channels available)", ch, channels.size()); + printf("Invalid channel %d (%d channels available)", ch, static_cast(channels.size())); return; } -- cgit v1.2.3