JMA - fixed int comparison warning