Commit c67dfae9 authored by Marek Szczerba's avatar Marek Szczerba
Browse files

Typecast to resolve Linux compilation issues

parent c096dbaa
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -108,7 +108,7 @@ ivas_error ivas_render_config_init_from_rom_fx(
        return IVAS_ERROR( IVAS_ERR_UNEXPECTED_NULL_POINTER, "Unexpected null pointer while attempting to fill renderer configuration from ROM" );
    }
#ifdef IVAS_RTPDUMP_ACOUSTIC_ENVIRONMENT
    ( *hRenderConfig )->roomAcoustics.aeID = IVAS_DEFAULT_AEID;
    ( *hRenderConfig )->roomAcoustics.aeID = (Word16) IVAS_DEFAULT_AEID;
    move16();
#endif
    ( *hRenderConfig )->roomAcoustics.nBands = IVAS_REVERB_DEFAULT_N_BANDS;
+1 −1
Original line number Diff line number Diff line
@@ -2944,7 +2944,7 @@ ivas_error RenderConfigReader_getAcousticEnvironment(

    /* case when -aeid is not specified, select first ID from config file */
#ifdef IVAS_RTPDUMP_ACOUSTIC_ENVIRONMENT
    if ( id == IVAS_DEFAULT_AEID && pRenderConfigReader->nAE > 0 )
    if ( id == (Word16) IVAS_DEFAULT_AEID && pRenderConfigReader->nAE > 0 )
#else
    if ( id == 65535 && pRenderConfigReader->nAE > 0 )
#endif