Fix -werror gcc  compile issue