mirror of
https://github.com/neovim/neovim
synced 2025-07-16 09:11:51 +00:00
fix: fix compiler warning from clang
This commit is contained in:
@ -1026,7 +1026,7 @@ static bool out_data_decide_throttle(size_t size)
|
|||||||
started = os_hrtime();
|
started = os_hrtime();
|
||||||
} else {
|
} else {
|
||||||
uint64_t since = os_hrtime() - started;
|
uint64_t since = os_hrtime() - started;
|
||||||
if (since < (visit * 0.1L * NS_1_SECOND)) {
|
if (since < (visit * (NS_1_SECOND / 10))) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (since > (3 * NS_1_SECOND)) {
|
if (since > (3 * NS_1_SECOND)) {
|
||||||
|
Reference in New Issue
Block a user