mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 10:26:31 +00:00
refactor: the long goodbye
long is 32 bits on windows, while it is 64 bits on other architectures. This makes the type suboptimal for a codebase meant to be cross-platform. Replace it with more appropriate integer types.
This commit is contained in:
@@ -5646,11 +5646,11 @@ static void syntime_report(void)
|
||||
p = GA_APPEND_VIA_PTR(time_entry_T, &ga);
|
||||
p->total = spp->sp_time.total;
|
||||
total_total = profile_add(total_total, spp->sp_time.total);
|
||||
p->count = (int)spp->sp_time.count;
|
||||
p->match = (int)spp->sp_time.match;
|
||||
total_count += (int)spp->sp_time.count;
|
||||
p->count = spp->sp_time.count;
|
||||
p->match = spp->sp_time.match;
|
||||
total_count += spp->sp_time.count;
|
||||
p->slowest = spp->sp_time.slowest;
|
||||
proftime_T tm = profile_divide(spp->sp_time.total, (int)spp->sp_time.count);
|
||||
proftime_T tm = profile_divide(spp->sp_time.total, spp->sp_time.count);
|
||||
p->average = tm;
|
||||
p->id = spp->sp_syn.id;
|
||||
p->pattern = spp->sp_pattern;
|
||||
|
Reference in New Issue
Block a user