Removed int i from cpp file, cast 0 to byte instead

Removed int i from cpp file, cast 0 to byte instead. Throwing an int i in as a global prevents the use of i for a variable name in user programs.