mirror of
https://github.com/mawww/kakoune.git
synced 2024-08-16 16:20:38 +03:00
Use a size_t :debug memory total to avoid overflow
This commit is contained in:
parent
74ce9f3cfe
commit
e64babee8c
@ -1584,7 +1584,7 @@ const CommandDesc debug_cmd = {
|
||||
}
|
||||
else if (parser[0] == "memory")
|
||||
{
|
||||
auto total = 0;
|
||||
size_t total = 0;
|
||||
write_to_debug_buffer("Memory usage:");
|
||||
const ColumnCount column_size = 17;
|
||||
write_to_debug_buffer(format("{:17} │{:17} │{:17} │{:17} ",
|
||||
|
Loading…
Reference in New Issue
Block a user