summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Glöckner <cgloeckner@freenet.de>2016-01-21 18:33:53 +0100
committerAndré Nusser <andre.nusser@googlemail.com>2016-02-09 09:03:15 +0100
commit4b0af87c1edce20481b457a3dd4e0d92537a69a5 (patch)
tree5eba5dc89efab2b179ece2a95ecc4c52c999bc65
parent9884a609bdde9695f4baf3088218b90e5edee1d3 (diff)
fixed size_t print
-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;
}