Prevent warning 'declaration of ‘rc’ shadows a previous local'
Use the correct type