Silence a warning.

CQTexperiment
Christopher Snowhill 2017-09-17 19:21:48 -07:00
parent d0f0f516a3
commit 06f4fb70d4
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@
- (int)readAudio:(void *)buf frames:(UInt32)frames - (int)readAudio:(void *)buf frames:(UInt32)frames
{ {
if (framePosition + frames > trackEnd) { if (framePosition + frames > trackEnd) {
frames = trackEnd - framePosition; frames = (UInt32)(trackEnd - framePosition);
} }
if (!frames) if (!frames)