Changed error in pointer from uint32_t to unsigned char