Bug Fix: Handle compile time warning
Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
parent
68a146f6b8
commit
45352f9261
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ static VisualizationCollection *theCollection = nil;
|
|||
if(replay) {
|
||||
size_t length = [prerollBuffer length];
|
||||
if(length) {
|
||||
[visController postVisPCM:(const float *)[prerollBuffer bytes] amount:(length / sizeof(float))];
|
||||
[visController postVisPCM:(const float *)[prerollBuffer bytes] amount:(int)(length / sizeof(float))];
|
||||
[prerollBuffer replaceBytesInRange:NSMakeRange(0, length) withBytes:NULL length:0];
|
||||
}
|
||||
replay = NO;
|
||||
|
|
Loading…
Reference in a new issue