fix Linux build
This commit is contained in:
parent
2a5487ac19
commit
ef03dc0a6a
|
|
@ -543,7 +543,7 @@ bool DivEngine::loadFTM(unsigned char* file, size_t len, bool dnft, bool dnft_si
|
||||||
|
|
||||||
tchans = reader.readI();
|
tchans = reader.readI();
|
||||||
|
|
||||||
if (tchans<0 || tchans>=DIV_MAX_CHANS) {
|
if (tchans>=DIV_MAX_CHANS) {
|
||||||
logE("invalid channel count! %d",tchans);
|
logE("invalid channel count! %d",tchans);
|
||||||
lastError = "invalid channel count";
|
lastError = "invalid channel count";
|
||||||
delete[] file;
|
delete[] file;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue