squashing a unsigned comparison warning