Added cast to uint32_t to suppress warning.
Program ready for submission.