Function declaration/definition mismatch for computeReferencePower_omasa_ivas_fx()
# Basic info <!--- Add commit SHA used to reproduce--> - Float reference: - Encoder (float): n/a - Decoder (float): n/a - Fixed point: - Encoder (fixed): 09d041c81cb7a896017582b94b919fb024729257 - Decoder (fixed): 09d041c81cb7a896017582b94b919fb024729257 # Bug description There is a mismatch in the function declaration/definition of `computeReferencePower_omasa_ivas_fx()`: **Declaration:** ``` static void computeReferencePower_omasa_ivas_fx( const Word16 *band_grouping, Word32 Cldfb_RealBuffer[FOA_CHANNELS][CLDFB_NO_CHANNELS_MAX], Word32 Cldfb_ImagBuffer[FOA_CH\ ANNELS][CLDFB_NO_CHANNELS_MAX], Word32 *reference_power, const Word16 enc_param_start_band, const Word16 num_freq_bands, Word16 q_Cldfb, Word16 *ref_exp ); ``` **Definition:** ``` static void computeReferencePower_omasa_ivas_fx( const Word16 *band_grouping, /* i : Band grouping for estimation */ Word32 Cldfb_RealBuffer[FOA_CHANNELS][CLDFB_NO_CHANNELS_MAX], /* i : Real part of input signal Q6*/ Word32 Cldfb_ImagBuffer[FOA_CHANNELS][CLDFB_NO_CHANNELS_MAX], /* i : Imag part of input signal Q6*/ Word32 *reference_power, /* o : Estimated power Q(31-ref_exp)*/ const Word16 enc_param_start_band, /* i : first band to process */ const Word16 num_freq_bands, /* i : Number of frequency bands */ Word16 q_Cldfb, Word16 q_reference_power[CLDFB_NO_CHANNELS_MAX] ) ``` This triggers the following compiler warnings on gcc 12.2 ``` lib_enc/ivas_omasa_enc_fx.c:1581:12: warning: argument 8 of type 'Word16[60]' {aka 'short int[60]'} with mismatched bound [-Warray-parameter=] 1581 | Word16 q_reference_power[CLDFB_NO_CHANNELS_MAX] ) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib_enc/ivas_omasa_enc_fx.c:95:316: note: previously declared as 'Word16 *' {aka 'short int *'} 95 | static void computeReferencePower_omasa_ivas_fx( const Word16 *band_grouping, Word32 Cldfb_RealBuffer[FOA_CHANNELS][CLDFB_NO_CHANNELS_MAX], Word32 Cldfb_ImagBuffer[FOA_CHANNELS][CLDFB_NO_CHANNELS_MAX], Word32 *reference_power, const Word16 enc_param_start_band, const Word16 num_freq_bands, Word16 q_Cldfb, Word16 *ref_exp ); | ```
issue