Skip to content

Commit a5f771e

Browse files
committed
Add cast to avoid sign-compare warning on macOS
1 parent 1b434ce commit a5f771e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/rtmixer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ int callback(const void* input, void* output, frame_t frameCount
327327
PaUtil_AdvanceRingBufferWriteIndex(action->ringbuffer, totalsize);
328328
}
329329

330-
if (totalsize < frames)
330+
if (totalsize < (ring_buffer_size_t)frames)
331331
{
332332
// Ring buffer is empty or full
333333

0 commit comments

Comments
 (0)