[fix] warning related to comparition signed vs unsigned