diff options
author | Christian Glöckner <cgloeckner@freenet.de> | 2016-01-21 18:26:39 +0100 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2016-02-09 09:03:15 +0100 |
commit | 9884a609bdde9695f4baf3088218b90e5edee1d3 (patch) | |
tree | d9fc36117b62062cda730609de02eff5cb0c05e1 /drumgizmo/output | |
parent | 240c304fd504db43cc0a5b7fd7d578c842b5a7e5 (diff) |
silenced warning
Diffstat (limited to 'drumgizmo/output')
-rw-r--r-- | drumgizmo/output/wavfile.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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<unsigned int>(ch) >= channels.size()) { printf("Invalid channel %d (%lu channels available)", ch, channels.size()); return; } |