mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-10-15 07:14:48 +02:00
Replace c-Style cast with static_cast
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, (size_t) 0);
|
||||
EXPECT_GT(bytes, static_cast<size_t>(0));
|
||||
continue;
|
||||
}
|
||||
|
||||
while (ret == MSGPACK_UNPACK_SUCCESS) {
|
||||
EXPECT_GT(bytes, (size_t) 0);
|
||||
EXPECT_GT(bytes, static_cast<size_t>(0));
|
||||
parsed += bytes;
|
||||
ret = msgpack_unpacker_next_with_size(unp, &result, &bytes);
|
||||
}
|
||||
|
Reference in New Issue
Block a user