zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit b65e33d74259dd4ec080d3deee0795f882044177
parent cb5e73887bfbdce8742712653508f519683940dd
Author: falkTX <[email protected]>
Date:   Tue, 20 Dec 2016 15:25:59 +0000

Fix a very minor compiler warning

Diffstat:
Msrc/Misc/Master.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Misc/Master.cpp b/src/Misc/Master.cpp @@ -1028,7 +1028,7 @@ void Master::ShutUp() insefx[nefx]->cleanup(); for(int nefx = 0; nefx < NUM_SYS_EFX; ++nefx) sysefx[nefx]->cleanup(); - for(int i = 0; i < sizeof(activeNotes)/sizeof(activeNotes[0]); ++i) + for(int i = 0; i < int(sizeof(activeNotes)/sizeof(activeNotes[0])); ++i) activeNotes[i] = 0; vuresetpeaks(); shutup = 0;