vere: use hex literal for database size passed to u3_lmdb_init()

This commit is contained in:
Peter McEvoy 2022-01-07 14:39:40 -08:00
parent e4616828c1
commit db1b8d8239

View File

@ -751,10 +751,11 @@ u3_disk_init(c3_c* pax_c, u3_disk_cb cb_u)
// "[..] on 64-bit there is no penalty for making this huge (say 1TB)."
//
{
const size_t siz_i =
#if (defined(U3_CPU_aarch64) && defined(U3_OS_linux)) || defined(U3_OS_mingw)
const size_t siz_i = 64424509440;
0xf00000000;
#else
const size_t siz_i = 1099511627776;
0x10000000000;
#endif
if ( 0 == (log_u->mdb_u = u3_lmdb_init(log_c, siz_i)) ) {