From 9f605e018745f16467041945fd8b259010eac4d9 Mon Sep 17 00:00:00 2001 From: Adam Scott Date: Wed, 13 Mar 2024 15:02:17 -0400 Subject: [PATCH] Fix GCC build failure --- modules/interactive_music/audio_stream_interactive.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/interactive_music/audio_stream_interactive.cpp b/modules/interactive_music/audio_stream_interactive.cpp index ddac458463e..01764d66ed1 100644 --- a/modules/interactive_music/audio_stream_interactive.cpp +++ b/modules/interactive_music/audio_stream_interactive.cpp @@ -353,7 +353,7 @@ static void _test_and_swap(T &p_elem, uint32_t p_a, uint32_t p_b) { } void AudioStreamInteractive::_inspector_array_swap_clip(uint32_t p_item_a, uint32_t p_item_b) { - ERR_FAIL_INDEX(p_item_a, (uint32_t)clip_count); + ERR_FAIL_UNSIGNED_INDEX(p_item_a, (uint32_t)clip_count); ERR_FAIL_UNSIGNED_INDEX(p_item_b, (uint32_t)clip_count); for (int i = 0; i < clip_count; i++) {