Fix compilation with Gtest 1.8.0 and GCC 5.4.1

This commit is contained in:
Luiz Silva
2016-11-10 10:59:26 -02:00
parent 55b51c506f
commit 4a1db60af8
11 changed files with 59 additions and 59 deletions

View File

@@ -163,12 +163,12 @@ TEST(streaming, basic_with_size)
bytes = 0;
ret = msgpack_unpacker_next_with_size(unp, &result, &bytes);
if (ret == MSGPACK_UNPACK_CONTINUE) {
EXPECT_GT(bytes, 0);
EXPECT_GT(bytes, (size_t) 0);
continue;
}
while (ret == MSGPACK_UNPACK_SUCCESS) {
EXPECT_GT(bytes, 0);
EXPECT_GT(bytes, (size_t) 0);
parsed += bytes;
ret = msgpack_unpacker_next_with_size(unp, &result, &bytes);
}