fix Linux build

This commit is contained in:
tildearrow 2024-04-15 02:39:55 -05:00
parent 2a5487ac19
commit ef03dc0a6a

View file

@ -543,7 +543,7 @@ bool DivEngine::loadFTM(unsigned char* file, size_t len, bool dnft, bool dnft_si
tchans = reader.readI();
if (tchans<0 || tchans>=DIV_MAX_CHANS) {
if (tchans>=DIV_MAX_CHANS) {
logE("invalid channel count! %d",tchans);
lastError = "invalid channel count";
delete[] file;