From 6f4089fa55dd07edcc003f8ecba612e968c96102 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 8 Jan 2025 10:40:17 +0100 Subject: [PATCH] Fix GCC warning about potential stringop-overflow in AudioEffectPitchShift Fixes #101236. --- servers/audio/effects/audio_effect_pitch_shift.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/audio/effects/audio_effect_pitch_shift.h b/servers/audio/effects/audio_effect_pitch_shift.h index 949ce960579..381833c24ae 100644 --- a/servers/audio/effects/audio_effect_pitch_shift.h +++ b/servers/audio/effects/audio_effect_pitch_shift.h @@ -77,7 +77,7 @@ class AudioEffectPitchShift : public AudioEffect { public: friend class AudioEffectPitchShiftInstance; - enum FFTSize { + enum FFTSize : unsigned int { FFT_SIZE_256, FFT_SIZE_512, FFT_SIZE_1024,