From fe37e8231156e632988f9ed9de013a1e98aa8cd6 Mon Sep 17 00:00:00 2001 From: William Woodall Date: Wed, 16 Dec 2015 23:00:43 -0800 Subject: [PATCH] fix warning on Windows --- rcl/test/rcl/test_node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rcl/test/rcl/test_node.cpp b/rcl/test/rcl/test_node.cpp index 31464ca..8e057a1 100644 --- a/rcl/test/rcl/test_node.cpp +++ b/rcl/test/rcl/test_node.cpp @@ -130,7 +130,7 @@ TEST_F(TestNodeFixture, test_rcl_node_accessors) { assert_no_realloc_end(); assert_no_free_end(); stop_memory_checking(); - EXPECT_TRUE(actual_node_name); + EXPECT_TRUE(actual_node_name ? true : false); if (actual_node_name) { EXPECT_EQ(std::string(name), std::string(actual_node_name)); }