Changed byte to int

Replaced byte with int.