summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/surveyor.cpp2
1 files changed, 1 insertions, 1 deletions
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)