test/objectstore: silence -Wsign-compare warning 27750/head
authorKefu Chai <kchai@redhat.com>
Wed, 24 Apr 2019 12:58:35 +0000 (20:58 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 24 Apr 2019 12:58:35 +0000 (20:58 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/objectstore/Allocator_test.cc

index b74287302f67811e0805e5c42a2dd98e6699a740..09e4f37245efb04728d22a83840081d0b72b6345 100644 (file)
@@ -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);