--- linuxsampler/trunk/src/engines/EngineBase.h 2020/01/08 20:26:53 3705 +++ linuxsampler/trunk/src/engines/EngineBase.h 2020/01/08 20:39:59 3706 @@ -250,7 +250,9 @@ return 0; } - virtual int MaxVoices() OVERRIDE { return pVoicePool->poolSize(); } + virtual int MaxVoices() OVERRIDE { + return (int) pVoicePool->poolSize(); + } virtual void SetMaxVoices(int iVoices) throw (Exception) OVERRIDE { if (iVoices < 1) @@ -1202,7 +1204,7 @@ // steal oldest voice on the oldest key from any other engine channel // (the smaller engine channel number, the higher priority) EngineChannelBase* pSelectedChannel; - int iChannelIndex; + ssize_t iChannelIndex; VoiceIterator itSelectedVoice; #if CONFIG_DEVMODE