Converted all unsigned data types to uint32_t