3 ms·
size_t is actually 32-bit on some 64-bit platforms; you want uint64_t.
by loeg 15y ago
size_t is actually 32-bit on some 64-bit platforms; you want uint64_t.
- kragen 15y agoIf that's true, that's a bug in the platform, not the program. The whole point of size_t is to be however many bits you need to represent the size of things in your address space.