Fixed int/unsigned comparison warning