RPI: Fixed compile warnings.