From f2c854ca949451f1839672289079462032864cf6 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 28 Nov 2013 21:09:54 +0100 Subject: Fix 64bit compile warning. --- drumgizmo/output/wavfile/wavfile.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drumgizmo/output') 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); -- cgit v1.2.3