Fix comparison warning