From fd35e7a0bddf9efaef8137cc54e1b6ab6e78cc65 Mon Sep 17 00:00:00 2001 From: Rasmus Pedersen Date: Thu, 20 Feb 2014 11:32:07 +0100 Subject: [PATCH] test: fix VC++ warning C4244 --- test/test-threadpool-cancel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-threadpool-cancel.c b/test/test-threadpool-cancel.c index 1443773c..c3186ea5 100644 --- a/test/test-threadpool-cancel.c +++ b/test/test-threadpool-cancel.c @@ -86,7 +86,7 @@ static void saturate_threadpool(void) { * the thread pool is saturated. As with any timing dependent test, * this is obviously not ideal. */ - if (uv_cond_timedwait(&signal_cond, &signal_mutex, 350 * 1e6)) { + if (uv_cond_timedwait(&signal_cond, &signal_mutex, (uint64_t)(350 * 1e6))) { ASSERT(0 == uv_cancel((uv_req_t*) req)); break; }