aboutsummaryrefslogtreecommitdiff
path: root/libbutl/manifest-serializer.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-05-13 00:29:50 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-05-15 15:58:03 +0300
commitc4a9db2f981a03aecf5e9a60e6d27a6dc6dac159 (patch)
treeb40c731b0e1ebdc8abdafddfadc919b64baef8f0 /libbutl/manifest-serializer.cxx
parent041b2137f7351abc8d648ed6a0399feaf331af08 (diff)
Fix VC15 warnings (/W3)
Diffstat (limited to 'libbutl/manifest-serializer.cxx')
-rw-r--r--libbutl/manifest-serializer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbutl/manifest-serializer.cxx b/libbutl/manifest-serializer.cxx
index 96661df..35f2d72 100644
--- a/libbutl/manifest-serializer.cxx
+++ b/libbutl/manifest-serializer.cxx
@@ -185,7 +185,7 @@ namespace butl
// Is this whitespace past where we need to break? Also see
// below the "hard" break case for why we use 78 at the end.
//
- if (cl + static_cast<size_t> (w - s) > (w != e ? 77 : 78))
+ if (cl + static_cast<size_t> (w - s) > (w != e ? 77U : 78U))
{
// Only break if this whitespace is close enough to
// the end of the line.
@@ -203,7 +203,7 @@ namespace butl
// '\' and then the character on the next line, we might as well
// write it on this line.
//
- if (cl >= (s + 1 != e ? 77 : 78))
+ if (cl >= (s + 1 != e ? 77U : 78U))
br = true;
if (br)