Commit ca1d6d37 authored by sagnowski's avatar sagnowski
Browse files

Fix MSVC warnings

parent 6f1a7a0e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1132,7 +1132,7 @@ int main(
            if ( !args.framing_5ms )
            {
                /* Skip over 3 following head positions - they are given on 5ms grid */
                for ( int16_t i = 0; i < 3; ++i )
                for ( i = 0; i < 3; ++i )
                {
                    if ( ( error = HeadRotationFileReading( headRotReader, &headRot, &Pos ) ) != IVAS_ERR_OK )
                    {
@@ -1202,7 +1202,7 @@ int main(
            if ( !args.framing_5ms )
            {
                /* Skip over 3 following entries in file - they are given on 5ms grid */
                for ( int16_t i = 0; i < 3; ++i )
                for ( i = 0; i < 3; ++i )
                {
                    if ( ( error = ExternalOrientationFileReading( externalOrientationFileReader, &quat, &enableHeadRotation, &enableExternalOrientation, &enableRotationInterpolation, &numFramesToTargetOrientation ) ) != IVAS_ERR_OK )
                    {
+1 −1
Original line number Diff line number Diff line
@@ -4937,7 +4937,7 @@ static int16_t num_subframes_in_buffer( const IVAS_REND_AudioBuffer *buffer, int
#ifdef DEBUGGING
    assert( buffer->config.numSamplesPerChannel % (sampleRate / FRAMES_PER_SEC / MAX_PARAM_SPATIAL_SUBFRAMES) == 0 );
#endif
    return buffer->config.numSamplesPerChannel / (sampleRate / FRAMES_PER_SEC / MAX_PARAM_SPATIAL_SUBFRAMES);
    return (int16_t) ( buffer->config.numSamplesPerChannel / ( sampleRate / FRAMES_PER_SEC / MAX_PARAM_SPATIAL_SUBFRAMES ) );
}
#endif