aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbutl/fdstream.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbutl/fdstream.cxx b/libbutl/fdstream.cxx
index e29bb50..18f611f 100644
--- a/libbutl/fdstream.cxx
+++ b/libbutl/fdstream.cxx
@@ -2064,7 +2064,7 @@ namespace butl
// Use exponential backoff but not too aggressive and with 25ms max.
//
- DWORD t (i >= 100 ? 25 : 1 + (i / 4));
+ DWORD t (static_cast<DWORD> (i >= 100 ? 25 : 1 + (i / 4)));
if (timeout)
{