mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Increase readability of unit conversion.
This commit is contained in:
parent
a1d326a251
commit
b21c6fbf14
@ -8,5 +8,5 @@
|
||||
uint64_t os_get_total_mem_kib(void)
|
||||
{
|
||||
// Convert bytes to KiB.
|
||||
return uv_get_total_memory() >> 10;
|
||||
return uv_get_total_memory() / 1024;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user