fix unsigned/signed warning