Merge pull request #845 from ChuckRozhon/switch_to_cstdint Changed unsigned ints and chars to cstdint counterparts