The reason for using uint64_t is because it's guaranteed to work on all platforms, specifically 32-bit platforms where sizeof(void*) is 4 — uint64_tguarantees 8.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for the feedback, I already used
void*
but neveruint64_t
I will research about it.The reason for using
uint64_t
is because it's guaranteed to work on all platforms, specifically 32-bit platforms wheresizeof(void*)
is 4 —uint64_t
guarantees 8.