Skip to content

Commit 08033fa

Browse files
committed
AudioOutput: compile warning
1 parent 861e386 commit 08033fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AudioTools/CoreAudio/AudioOutput.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ class OutputMixer : public Print {
388388
} else {
389389
LOGW("Available Buffer %d too small %d: requested: %d -> increase the "
390390
"buffer size", (int) idx,
391-
(int) p_buffer->availableForWrite()*sizeof(T), (int)bytes);
391+
static_cast<int>(p_buffer->availableForWrite()*sizeof(T)), (int)bytes);
392392
}
393393
return result;
394394
}

0 commit comments

Comments
 (0)