aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-05-13 15:43:43 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-05-13 15:43:43 +0300
commit00c30981bd15dacafe47ceca80fbc060f9184b54 (patch)
tree212a4ed6d354380a573097040b285b7b35dbe560
parent0bb77a43ff1d9c16fad61017f45a057bcfd36cae (diff)
Fix VC15 warnings (/W3)
-rw-r--r--libbpkg/manifest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbpkg/manifest.cxx b/libbpkg/manifest.cxx
index b5b3f91..64daa11 100644
--- a/libbpkg/manifest.cxx
+++ b/libbpkg/manifest.cxx
@@ -1210,7 +1210,7 @@ namespace bpkg
if (priority)
{
- priority::value_type v (*priority);
+ size_t v (*priority);
assert (v < priority_names.size ());
s.next ("priority", add_comment (priority_names[v], priority->comment));
}