mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-21 22:01:46 +03:00
vere: use hex literal for database size passed to u3_lmdb_init()
This commit is contained in:
parent
e4616828c1
commit
db1b8d8239
@ -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)) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user