Fix stupid overflow problem wherein I used a uint8_t for a value that could be greater than 255.