From cdf32999cfbe6fd76a7678c0a3d8d53bc3f3ca4f Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Fri, 20 Apr 2012 08:02:44 +0200 Subject: Fix a warning in MSVC build Signed-off-by: Martin Sustrik --- src/surveyor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/surveyor.cpp b/src/surveyor.cpp index 2208146..b72b91b 100644 --- a/src/surveyor.cpp +++ b/src/surveyor.cpp @@ -132,7 +132,7 @@ bool xs::surveyor_t::xhas_out () int xs::surveyor_t::rcvtimeo () { - int t = timeout - now_ms (); + int t = (int) (timeout - now_ms ()); if (t < 0) return options.rcvtimeo; if (options.rcvtimeo < 0) -- cgit v1.2.3