Skip to content

Commit 03efb72

Browse files
committed
signed/unsigned warning
1 parent 7853756 commit 03efb72

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/boost/openmethod/compiler.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ void compiler<Policy>::assign_slots() {
693693

694694
auto first_slot = cls.used_slots.find_first();
695695
cls.first_slot =
696-
first_slot == boost::dynamic_bitset<>::npos ? 0 : first_slot;
696+
first_slot == boost::dynamic_bitset<>::npos ? 0u : first_slot;
697697
cls.vtbl.resize(cls.used_slots.size() - cls.first_slot);
698698
++trace << cls << " vtbl: " << cls.first_slot << "-"
699699
<< cls.used_slots.size() << " slots " << cls.used_slots

0 commit comments

Comments
 (0)