From b83949cefd98b4f077af97afc902d367fffb8c10 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 13 May 2017 00:29:10 +0300 Subject: Fix VC15 warnings (/W3) --- build2/algorithm.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/algorithm.cxx') diff --git a/build2/algorithm.cxx b/build2/algorithm.cxx index 8203b08..156a209 100644 --- a/build2/algorithm.cxx +++ b/build2/algorithm.cxx @@ -292,7 +292,7 @@ namespace build2 // First try the map for the actual operation. If that doesn't yeld // anything, try the wildcard map. // - for (size_t oi (o), oip (o); oip != 0; oip = oi, oi = 0) + for (operation_id oi (o), oip (o); oip != 0; oip = oi, oi = 0) { const target_type_rule_map* ttm ((*om)[oi]); -- cgit v1.1