Hacker News new | ask | show | jobs
by Sharlin 4575 days ago
Actually in C and C++, longs are 32 bit on most 32-bit platforms. If you need a 64-bit integer type, you need either "long long" or some implementation-specific equivalent.
1 comments

I know that, I misread it as using two longs plus two pointers, fixed it now.