Use uint64_t instead of long for pointers represented in C
authorMatt Corallo <git@bluematt.me>
Sun, 2 May 2021 03:31:31 +0000 (03:31 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 3 May 2021 02:43:51 +0000 (02:43 +0000)
While long is generally correct, the conversion of pointers to
long, then int64_t (passed to Java), then back to pointers
results in poor sign-extension, giving us invalid pointers.
Instead, convert to uint64_t everywhere and things work.


No differences found