summaryrefslogtreecommitdiffstats
path: root/test/xmpp_tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/xmpp_tests.cpp')
-rw-r--r--test/xmpp_tests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/xmpp_tests.cpp b/test/xmpp_tests.cpp
index 677e203..d394939 100644
--- a/test/xmpp_tests.cpp
+++ b/test/xmpp_tests.cpp
@@ -735,7 +735,7 @@ TEST(XmppClient, XMPP_StreamParseTests)
EXPECT_NO_THROW(xmppStream->close());
remoteTcp->closed().wait();
- EXPECT_EQ(remoteTcp->expressionMatchFailures(), 0);
+ EXPECT_EQ(remoteTcp->expressionMatchFailures(), 0UL);
}
}
catch (const connect_error &ce)
@@ -1222,7 +1222,7 @@ TEST(XmppClient, XMPP_Sasl_Prep)
str_helper::utf32ToUtf8(*nextIn++, &tempBuffer[0],
sizeof(tempBuffer) / sizeof(tempBuffer[0]), charsWritten);
- ASSERT_NE(charsWritten, 0);
+ ASSERT_NE(charsWritten, 0UL);
initialStr += string(&tempBuffer[0], charsWritten);
}