From afadaf4260e8d436b454289e61e85ac8c5bab071 Mon Sep 17 00:00:00 2001 From: Christian Linke Date: Mon, 3 Nov 2014 19:25:02 +0100 Subject: * size comparison fix Signed-off-by: Christian Linke --- AudioManagerDaemon/test/AmMapHandlerTest/CAmMapHandlerTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AudioManagerDaemon/test/AmMapHandlerTest/CAmMapHandlerTest.cpp b/AudioManagerDaemon/test/AmMapHandlerTest/CAmMapHandlerTest.cpp index d4351b9..29dc8ce 100644 --- a/AudioManagerDaemon/test/AmMapHandlerTest/CAmMapHandlerTest.cpp +++ b/AudioManagerDaemon/test/AmMapHandlerTest/CAmMapHandlerTest.cpp @@ -2308,7 +2308,7 @@ TEST_F(CAmMapHandlerTest, connectionIDBoundary) } std::vector connectionList; ASSERT_EQ(E_OK, pDatabaseHandler.getListConnections(connectionList)); - ASSERT_EQ(TEST_MAX_CONNECTION_ID-1, connectionList.size()); + ASSERT_EQ(TEST_MAX_CONNECTION_ID-1, static_cast(connectionList.size())); ASSERT_EQ(E_UNKNOWN, pDatabaseHandler.enterConnectionDB(connection,connectionID)); logInfo("here"); ASSERT_EQ(0, connectionID); @@ -2362,7 +2362,7 @@ TEST_F(CAmMapHandlerTest, mainConnectionIDBoundary) } std::vector connectionList; ASSERT_EQ(E_OK, pDatabaseHandler.getListConnections(connectionList)); - ASSERT_EQ(TEST_MAX_CONNECTION_ID-1, connectionList.size()); + ASSERT_EQ(TEST_MAX_CONNECTION_ID-1, static_cast(connectionList.size())); //create a mainConnection -- cgit v1.2.1