Add casts to uint32_t to avoid warnings