We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d329e2b + c018da1 commit 07da8b4Copy full SHA for 07da8b4
generate/templates/manual/include/callback_wrapper.h
@@ -57,7 +57,7 @@ class CallbackWrapper {
57
}
58
// throttle if needed
59
uint64_t now = uv_hrtime();
60
- if(lastCallTime > 0 && now < lastCallTime + throttle * 1000000) {
+ if(lastCallTime > 0 && now < lastCallTime + throttle * (uint64_t)1000000) {
61
// throttled
62
return true;
63
} else {
0 commit comments