Cant compile src/tools/rados/rados.cc on 32 bit systems
On my machine size_t is unsigned int. This causes an overflow in src/tools/rados/rados.cc:776: max_obj_len = 5ull * 1024ull * 1024ull * 1024ull;
max_obj_len should be uint64. it was uint64 but has been changed for some reason.
#1 Updated by Neha Ojha about 2 months ago
Following is the explanation for why it was done.
commit 8617ed065fac44dba44b9383b9ce2e3515a5bbda Author: Kefu Chai <email@example.com> Date: Sun Nov 12 08:36:16 2017 +0800 rados: use size_t for `max_obj_len` otherwise, on some platforms where size_t is not uint64_t, MacOS for instance, no matched generate_random_number() can be selected. Signed-off-by: Kefu Chai <firstname.lastname@example.org>