From 45352f9261adeb64781cbc01ee98cbfe35ec6373 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Tue, 4 Mar 2025 00:45:53 -0800 Subject: [PATCH] Bug Fix: Handle compile time warning Signed-off-by: Christopher Snowhill --- Audio/Chain/VisualizationNode.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Audio/Chain/VisualizationNode.m b/Audio/Chain/VisualizationNode.m index ba2aad032..7e10f99c2 100644 --- a/Audio/Chain/VisualizationNode.m +++ b/Audio/Chain/VisualizationNode.m @@ -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;