aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-06-22 12:03:21 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-06-22 12:03:21 +0200
commitfd4ec99398e6d2e495634065141df52c25f4ae67 (patch)
tree79d81ed1ac0bc7bdc30fe1fed5a0a3a4aa3c5811
parentc3bb3da52c81abcde83cb72e90b1b61f0627f580 (diff)
Fix warning in previous commit
-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)
{