fix warning on signed/unsigned comparison