This likely needs updating a bit deeper. It's being cast as a uint64 because the calling method has userData as a void * type. Because of 64 bits, a void * becomes a 64 bit value. The calling method needs to be updated to not accept a void if at all possible and all callers of the calling method should also be updated. Great catch!
This likely needs updating a bit deeper. It's being cast as a uint64 because the calling method has userData as a
void *
type. Because of 64 bits, avoid *
becomes a 64 bit value. The calling method needs to be updated to not accept a void if at all possible and all callers of the calling method should also be updated. Great catch!_Originally posted by @Cekis in https://github.com/SWG-Source/src/pull/23#discussion_r793167674_