From c4a9db2f981a03aecf5e9a60e6d27a6dc6dac159 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 13 May 2017 00:29:50 +0300 Subject: Fix VC15 warnings (/W3) --- libbutl/manifest-serializer.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbutl/manifest-serializer.cxx') 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 (w - s) > (w != e ? 77 : 78)) + if (cl + static_cast (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) -- cgit v1.1