test: fix VC++ warning C4244

This commit is contained in:
Rasmus Pedersen 2014-02-20 11:32:07 +01:00
parent 780d8ad8e5
commit fd35e7a0bd

View File

@ -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;
}