summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-01-14 13:18:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-01-14 13:18:52 +0200
commit53e7e314e89f7e6262a8b169ce4c5aa872b8ceee (patch)
tree3eae472ca2973acdabe94a0ee7f573237bd8ec3c
parent16e855071b57dbc86307a7eba4db439047259e70 (diff)
downloadbuild2-53e7e314e89f7e6262a8b169ce4c5aa872b8ceee.zip
build2-53e7e314e89f7e6262a8b169ce4c5aa872b8ceee.tar.gz
build2-53e7e314e89f7e6262a8b169ce4c5aa872b8ceee.tar.xz
Fix VC warning
-rw-r--r--build2/operation.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/operation.cxx b/build2/operation.cxx
index 1cbf104..c03a5ee 100644
--- a/build2/operation.cxx
+++ b/build2/operation.cxx
@@ -506,7 +506,7 @@ namespace build2
// the noop meta-operation and the default operation; we omit printing
// both.
//
- for (size_t id (2); id < ov.size (); ++id)
+ for (uint8_t id (2); id < ov.size (); ++id)
{
if (ov[id] != nullptr)
cout << ' ' << ot[id];