1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-27 04:11:35 +01:00

Fix compilation warnings shown on travis.

This commit is contained in:
Matias Fontanini
2015-05-23 11:56:31 -07:00
parent 46f5d7a0cd
commit 8d28bfe7a1
9 changed files with 28 additions and 28 deletions

View File

@@ -318,7 +318,7 @@ TEST_F(DNSTest, Authority) {
ASSERT_EQ(dns.authority_count(), 2);
DNS::resources_type resources = dns.authority();
EXPECT_EQ(2, resources.size());
EXPECT_EQ(2ULL, resources.size());
for(DNS::resources_type::const_iterator it = resources.begin(); it != resources.end(); ++it) {
EXPECT_EQ("www.example.com", it->dname());
EXPECT_EQ(it->type(), DNS::CNAME);
@@ -429,7 +429,7 @@ TEST_F(DNSTest, ItAintGonnaCorrupt) {
// Check authority records
resources = dns.authority();
EXPECT_EQ(1, resources.size());
EXPECT_EQ(1ULL, resources.size());
for(DNS::resources_type::const_iterator it = resources.begin(); it != resources.end(); ++it) {
EXPECT_EQ("www.example.com", it->dname());
EXPECT_EQ(it->type(), DNS::CNAME);
@@ -441,7 +441,7 @@ TEST_F(DNSTest, ItAintGonnaCorrupt) {
// Check additional records
resources = dns.additional();
EXPECT_EQ(1, resources.size());
EXPECT_EQ(1ULL, resources.size());
for(DNS::resources_type::const_iterator it = resources.begin(); it != resources.end(); ++it) {
EXPECT_EQ("www.example.com", it->dname());
EXPECT_EQ(it->type(), DNS::CNAME);