mirror of
https://github.com/neovim/neovim.git
synced 2026-05-02 03:55:00 +00:00
Increase readability of unit conversion.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user