]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
client/Client.cc: trivial [Cleanup] Stop different types comparison
authorShinobu Kinjo <shinobu@redhat.com>
Sun, 5 Nov 2017 05:03:13 +0000 (14:03 +0900)
committerShinobu Kinjo <shinobu@redhat.com>
Sun, 5 Nov 2017 05:03:13 +0000 (14:03 +0900)
Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
src/client/Client.cc

index 678184787a2426cef9593f2817579a5bc9c4c152..9098984ba487d9d0b1af32d75877fcadec9eb3da 100644 (file)
@@ -4104,7 +4104,7 @@ void Client::trim_caps(MetaSession *s, uint64_t max)
   }
 
   caps_size = s->caps.size();
-  if (caps_size > max)
+  if (caps_size > (size_t)max)
     _invalidate_kernel_dcache();
 }