]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tests: fix signed/unsigned warning 2834/head
authorLoic Dachary <loic-201408@dachary.org>
Tue, 28 Oct 2014 22:38:48 +0000 (23:38 +0100)
committerLoic Dachary <loic-201408@dachary.org>
Wed, 29 Oct 2014 07:09:33 +0000 (08:09 +0100)
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
src/test/common/test_shared_cache.cc

index 30453d53bc997a00e9257df659f0116c5827c2c5..5947051edaa6b2516913af6397dfa4802286a55b 100644 (file)
@@ -256,7 +256,7 @@ TEST(SharedCache_all, lru) {
   ASSERT_FALSE(cache.lookup(SIZE-1));
   ASSERT_FALSE(cache.lookup(SIZE));
   ASSERT_TRUE(cache.lookup(SIZE+1));
-  ASSERT_EQ(SIZE+1, *cache.lookup(SIZE+1));
+  ASSERT_EQ((int)SIZE+1, *cache.lookup(SIZE+1));
 
   cache.purge(0);
   ASSERT_FALSE(cache.lookup(0));