From db1b8d82396ed563d3472d9d9acfa9ba981c76a4 Mon Sep 17 00:00:00 2001 From: Peter McEvoy Date: Fri, 7 Jan 2022 14:39:40 -0800 Subject: [PATCH] vere: use hex literal for database size passed to u3_lmdb_init() --- pkg/urbit/vere/disk.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/urbit/vere/disk.c b/pkg/urbit/vere/disk.c index 4ef09546d5..a8dc413a10 100644 --- a/pkg/urbit/vere/disk.c +++ b/pkg/urbit/vere/disk.c @@ -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)) ) {