Correct compilation warnings