Fixed compile issue with WarningS