mirror of
https://github.com/ceph/ceph
synced 2025-01-31 15:32:38 +00:00
Merge pull request #15355 from joscollin/wip-cleanup-testdenc-warning
test: test_denc.cc: silence warning from -Wsign-compare Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
592d95e58e
@ -666,7 +666,7 @@ TEST(denc, no_copy_if_segmented_and_lengthy)
|
||||
bufferlist segmented;
|
||||
segmented.append(large_bl);
|
||||
segmented.append(small_bl);
|
||||
ASSERT_GT(segmented.get_num_buffers(), 1);
|
||||
ASSERT_GT(segmented.get_num_buffers(), 1u);
|
||||
ASSERT_GT(segmented.length(), CEPH_PAGE_SIZE);
|
||||
auto p = segmented.begin();
|
||||
p.advance(large_bl.length());
|
||||
@ -684,7 +684,7 @@ TEST(denc, no_copy_if_segmented_and_lengthy)
|
||||
bufferlist segmented;
|
||||
segmented.append(small_bl);
|
||||
segmented.append(large_bl);
|
||||
ASSERT_GT(segmented.get_num_buffers(), 1);
|
||||
ASSERT_GT(segmented.get_num_buffers(), 1u);
|
||||
ASSERT_GT(segmented.length(), CEPH_PAGE_SIZE);
|
||||
auto p = segmented.begin();
|
||||
p.advance(small_bl.length());
|
||||
|
Loading…
Reference in New Issue
Block a user