diff options
author | Jameson Nash <vtjnash@gmail.com> | 2018-11-05 16:03:19 -0500 |
---|---|---|
committer | Jameson Nash <vtjnash@gmail.com> | 2018-11-29 11:21:44 -0500 |
commit | c5593b51dc98715f7f32a919301b5801ebf1a8ce (patch) | |
tree | 68083703aa316ca99eaf1ebd4e423ccf64dc9a57 /src/timer.c | |
parent | f1981d74ba880f010bfde6c98647bbb426a6d126 (diff) | |
download | libuv-c5593b51dc98715f7f32a919301b5801ebf1a8ce.tar.gz libuv-c5593b51dc98715f7f32a919301b5801ebf1a8ce.zip |
warnings: fix code that emits compiler warnings
PR-URL: https://github.com/libuv/libuv/pull/2066
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'src/timer.c')
-rw-r--r-- | src/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timer.c b/src/timer.c index 2bf449a7..dd78bcba 100644 --- a/src/timer.c +++ b/src/timer.c @@ -152,7 +152,7 @@ int uv__next_timeout(const uv_loop_t* loop) { if (diff > INT_MAX) diff = INT_MAX; - return diff; + return (int) diff; } |