mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-25 11:00:35 +00:00
As Avi suggested, we should use size_t only for memory sizes, not disk sizes, as some hypothetical 32-bit machine could have 32-bit size_t but still support 64-bit file sizes. So this patch changes a number of places we used size_t in sstables/ to use uint64_t instead. It doesn't change *all* uses of size_t: Where the size_t refers to a size of an object in memory (or an object that should fit into memory - like the summary file), I left size_t. Signed-off-by: Nadav Har'El <nyh@cloudius-systems.com>