From 9884a609bdde9695f4baf3088218b90e5edee1d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Gl=C3=B6ckner?= Date: Thu, 21 Jan 2016 18:26:39 +0100 Subject: silenced warning --- 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 e1cb16e..6880228 100644 --- a/drumgizmo/output/wavfile.cc +++ b/drumgizmo/output/wavfile.cc @@ -82,7 +82,7 @@ void WavfileOutputEngine::pre(size_t nsamples) { } void WavfileOutputEngine::run(int ch, sample_t* samples, size_t nsamples) { - if (ch >= channels.size()) { + if (static_cast(ch) >= channels.size()) { printf("Invalid channel %d (%lu channels available)", ch, channels.size()); return; } -- cgit v1.2.3