Compilation warnings fixed