staging: wilc1000: change data type of result variable to int.