aboutsummaryrefslogtreecommitdiff
path: root/libbutl/standard-version.ixx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-03-13 00:38:34 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-03-13 13:58:03 +0300
commita82ec3c21ac680e5bf9614bdcf50ea78a52542ce (patch)
tree343ac89888ac8e4eca5899d0cec7f2cb512aee64 /libbutl/standard-version.ixx
parent83ee2939cb9b6766bbf0df60347be2da6d6f0adf (diff)
Add workarounds for all cl releases until 20.00
Diffstat (limited to 'libbutl/standard-version.ixx')
-rw-r--r--libbutl/standard-version.ixx3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbutl/standard-version.ixx b/libbutl/standard-version.ixx
index c0833c4..6142586 100644
--- a/libbutl/standard-version.ixx
+++ b/libbutl/standard-version.ixx
@@ -51,7 +51,8 @@ namespace butl
{
return release () || stub ()
? nullopt
- : optional<std::uint16_t> (version / 10 % 1000);
+ : optional<std::uint16_t> (
+ static_cast<std::uint16_t> (version / 10 % 1000));
}
inline optional<std::uint16_t> standard_version::