summaryrefslogtreecommitdiff
path: root/common/JackNetTool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/JackNetTool.cpp')
-rw-r--r--common/JackNetTool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/JackNetTool.cpp b/common/JackNetTool.cpp
index b34711c3..c21e5fca 100644
--- a/common/JackNetTool.cpp
+++ b/common/JackNetTool.cpp
@@ -884,7 +884,7 @@ namespace Jack
for (int port_index = 0; port_index < fNPorts; port_index++) {
if (fPortBuffer[port_index]) {
int res = opus_custom_decode_float(fOpusDecoder[port_index], fCompressedBuffer[port_index], fCompressedSizesByte[port_index], fPortBuffer[port_index], ((nframes == -1) ? fPeriodSize : nframes));
- if (res < 0 || res != ((nframes == -1) ? fPeriodSize : nframes)) {
+ if (res < 0 || res != ((nframes == -1) ? (int)fPeriodSize : nframes)) {
jack_error("opus_custom_decode_float error fCompressedSizeByte = %d res = %d", fCompressedSizesByte[port_index], res);
}
}