Fixed masked compiler warnings in Sapphire