Fix compile warnings,thanks to myfluxi