Commit 29ce417f authored by Dan Mihai's avatar Dan Mihai Committed by Nathan Heldt-Sheller

Fix Windows build break.

Fixing:

D:\GitRoot\1.3-rel\extlibs\gtest\googletest-release-1.7.0\include\
gtest/gtest.h(1577): error C2220: warning treated as error -
no 'object' file generated
resource\csdk\connectivity\test\ssladapter_test.cpp(3194):
note: see reference to function template instantiation
'testing::AssertionResult testing::internal::CmpHelperNE<int,bool>(
const char *,const char *,const T1 &,const T2 &)' being compiled
        with
        [
            T1=int,
            T2=bool
        ]
D:\GitRoot\1.3-rel\extlibs\gtest\googletest-release-1.7.0\include\
gtest/gtest.h(1577): warning C4805: '!=': unsafe mix of type
'const int' and type 'const bool' in operation

Change-Id: I055105a058c16242ef17ee01a1e9267178a48751
Signed-off-by: default avatarDan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/19929Reviewed-by: default avatarIbrahim Esmat <iesmat@microsoft.com>
Reviewed-by: default avatarWay Vadhanasin <wayvad@microsoft.com>
Tested-by: default avatarjenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: default avatarKevin Kane <kkane@microsoft.com>
Reviewed-by: Nathan Heldt-Sheller's avatarNathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
parent 22cb0dbe
......@@ -3191,7 +3191,7 @@ TEST(TLSAdapter, Test_11)
CAsetPskCredentialsCallback(GetDtlsPskCredentials);
EXPECT_NE(0, socketConnect());
EXPECT_NE(false, socketConnect());
ASSERT_FALSE(socket_error) << "Client: cannot connect to server";
// CAinitiateSslHandshake
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment