mirror of
https://github.com/msgpack/msgpack-c.git
synced 2026-01-11 00:24:16 +01:00
Fix compilation with Gtest 1.8.0 and GCC 5.4.1
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user