summaryrefslogtreecommitdiff
path: root/drumgizmo
diff options
context:
space:
mode:
Diffstat (limited to 'drumgizmo')
-rw-r--r--drumgizmo/output/wavfile/wavfile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/drumgizmo/output/wavfile/wavfile.cc b/drumgizmo/output/wavfile/wavfile.cc
index 03d8a7c..cb95715 100644
--- a/drumgizmo/output/wavfile/wavfile.cc
+++ b/drumgizmo/output/wavfile/wavfile.cc
@@ -86,7 +86,7 @@ bool WavFile::init(int channels, char *cnames[])
for(size_t i = 0; i < this->channels; i++) {
char fname[512];
- sprintf(fname, "%s%s-%d.wav", filename.c_str(), cnames[i], i);
+ sprintf(fname, "%s%s-%d.wav", filename.c_str(), cnames[i], (int)i);
// printf("[%s]\n", fname);
fh[i] = sf_open(fname, SFM_WRITE, &sf_info);