Skip to content

Commit 6f4089f

Browse files
committed
Fix GCC warning about potential stringop-overflow in AudioEffectPitchShift
Fixes godotengine#101236.
1 parent d2ada64 commit 6f4089f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servers/audio/effects/audio_effect_pitch_shift.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class AudioEffectPitchShift : public AudioEffect {
7777
public:
7878
friend class AudioEffectPitchShiftInstance;
7979

80-
enum FFTSize {
80+
enum FFTSize : unsigned int {
8181
FFT_SIZE_256,
8282
FFT_SIZE_512,
8383
FFT_SIZE_1024,

0 commit comments

Comments
 (0)