Skip to content

Commit e1a1acc

Browse files
committed
Merge pull request godotengine#101279 from akien-mga/audio-pitch-shift-fix-gcc-warning
Fix GCC warning about potential stringop-overflow in AudioEffectPitcShift
2 parents a682b07 + 6f4089f commit e1a1acc

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)