Skip to content

Commit

Permalink
Fix signed-unsigned comparison warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Snape committed Jan 23, 2017
1 parent fb0d310 commit d69c82b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drake/systems/framework/test/diagram_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ TEST_F(AbstractStateDiagramTest, CalcUnrestrictedUpdate) {
systems::UpdateActions<double> update_actions;
diagram_.CalcNextUpdateTime(*context_, &update_actions);
EXPECT_EQ(update_actions.time, 2);
EXPECT_EQ(update_actions.events.size(), 1);
EXPECT_EQ(update_actions.events.size(), 1u);
EXPECT_EQ(update_actions.events.front().action,
DiscreteEvent<double>::ActionType::kUnrestrictedUpdateAction);

Expand All @@ -973,7 +973,7 @@ TEST_F(AbstractStateDiagramTest, CalcUnrestrictedUpdate) {
diagram_.CalcNextUpdateTime(*context_, &update_actions);
EXPECT_EQ(update_actions.time, 6);
// One action to update all subsystems' state.
EXPECT_EQ(update_actions.events.size(), 1);
EXPECT_EQ(update_actions.events.size(), 1u);

diagram_.CalcUnrestrictedUpdate(*context_, update_actions.events.front(),
x_buf.get());
Expand Down

0 comments on commit d69c82b

Please sign in to comment.