google / s2geometry

Computational geometry and spatial indexing on the sphere
http://s2geometry.io/
Apache License 2.0
2.32k stars 308 forks source link

BN_num_bits takes a uint64_t*, so pass it one. #220

Closed nlewycky closed 2 years ago

nlewycky commented 2 years ago

Somehow, on my system uint64 from port.h and uint64_t are typedefs of two different 64-bit types, unsigned long and unsigned long long.

For the most part this difference would be invisible, however when passing by pointer the pointer must point to the correct type.

No functionality change.