Signed-off-by: Kefu Chai <kchai@redhat.com>
cli_dispatcher.got_new = false;
}
// resetcheck happen
- ASSERT_EQ(static_cast<Session*>(conn->get_priv())->get_count(), 1);
+ ASSERT_EQ(1U, static_cast<Session*>(conn->get_priv())->get_count());
server_conn = server_msgr->get_connection(client_msgr->get_myinst());
- ASSERT_EQ(static_cast<Session*>(server_conn->get_priv())->get_count(), 1);
+ ASSERT_EQ(1U, static_cast<Session*>(server_conn->get_priv())->get_count());
cli_dispatcher.got_remote_reset = false;
server_msgr->shutdown();