Why use int instead of byte?

Better yet, use the types from stdint.h and it will be explicitly clear what type each variable is.