diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-11-28 21:09:54 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-11-28 21:09:54 +0100 |
commit | f2c854ca949451f1839672289079462032864cf6 (patch) | |
tree | 544004f5feab5e2b4ade8541172f961b131e02e6 /drumgizmo | |
parent | 94113e10228ad11f231faa762ed4a8b8a57546c6 (diff) |
Fix 64bit compile warning.
Diffstat (limited to 'drumgizmo')
-rw-r--r-- | drumgizmo/output/wavfile/wavfile.cc | 2 |
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); |