]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/blustore: fix compile warning 11482/head
authorIgor Fedotov <ifedotov@mirantis.com>
Fri, 14 Oct 2016 12:33:15 +0000 (12:33 +0000)
committerIgor Fedotov <ifedotov@mirantis.com>
Fri, 14 Oct 2016 12:39:37 +0000 (12:39 +0000)
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
src/os/bluestore/BlueStore.h

index 50dd2343fa57855cc2a8011c1ba4279cff2d03ec..c9a0a1a2d645ef70f86f6174af9bf36bedb4d0e8 100644 (file)
@@ -636,7 +636,7 @@ public:
       }
       int s = seek_shard(offset);
       assert(s >= 0);
-      if (s == shards.size() - 1) {
+      if (s == (int)shards.size() - 1) {
        return false; // last shard
       }
       if (offset + length <= shards[s+1].offset) {