aboutsummaryrefslogtreecommitdiff
path: root/src/timer.c
diff options
context:
space:
mode:
authorJameson Nash <vtjnash@gmail.com>2018-11-05 16:03:19 -0500
committerJameson Nash <vtjnash@gmail.com>2018-11-29 11:21:44 -0500
commitc5593b51dc98715f7f32a919301b5801ebf1a8ce (patch)
tree68083703aa316ca99eaf1ebd4e423ccf64dc9a57 /src/timer.c
parentf1981d74ba880f010bfde6c98647bbb426a6d126 (diff)
downloadlibuv-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.c2
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;
}