diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-04-20 08:02:44 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-04-21 07:17:29 +0200 |
commit | cdf32999cfbe6fd76a7678c0a3d8d53bc3f3ca4f (patch) | |
tree | 90542fede76bc8cdb01702337ef9b5bbc543cd16 /src | |
parent | 9a42851044143df16512767e9b60753067d9ede7 (diff) |
Fix a warning in MSVC build
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/surveyor.cpp | 2 |
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) |