From f5d19919869f2a1b4a6e9dbc649a7a8e823aca3c Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 24 Apr 2019 20:58:35 +0800 Subject: [PATCH] test/objectstore: silence -Wsign-compare warning Signed-off-by: Kefu Chai --- src/test/objectstore/Allocator_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/objectstore/Allocator_test.cc b/src/test/objectstore/Allocator_test.cc index b74287302f6..09e4f37245e 100644 --- a/src/test/objectstore/Allocator_test.cc +++ b/src/test/objectstore/Allocator_test.cc @@ -227,8 +227,8 @@ TEST_P(AllocTest, test_alloc_non_aligned_len) TEST_P(AllocTest, test_alloc_39334) { - int64_t block = 0x4000; - int64_t size = 0x5d00000000; + uint64_t block = 0x4000; + uint64_t size = 0x5d00000000; init_alloc(size, block); alloc->init_add_free(0x4000, 0x5cffffc000); -- 2.47.3