mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Fix shadowed variable in build_stl_str_hl
This commit is contained in:
parent
d12f328b60
commit
a9dfcb7e02
@ -3580,8 +3580,8 @@ build_stl_str_hl(
|
||||
// { Determine how many characters the number will take up when printed
|
||||
// Note: We have to cast the base because the compiler uses
|
||||
// unsigned ints for the enum values.
|
||||
long num_chars = 0;
|
||||
for (long n = num, num_chars = 1; n >= (int) base; n /= (int) base) {
|
||||
long num_chars = 1;
|
||||
for (long n = num; n >= (int) base; n /= (int) base) {
|
||||
num_chars++;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user