]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd: Fix sign comparison warning
authorAdam C. Emerson <aemerson@redhat.com>
Thu, 2 Feb 2017 19:55:56 +0000 (14:55 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Fri, 3 Feb 2017 22:23:23 +0000 (17:23 -0500)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/test/cls_rbd/test_cls_rbd.cc

index fc1b30fa0aa220f048700017e75b79a57370c5d7..837e947743c0d92110708e462c9887ba50b130b4 100644 (file)
@@ -1050,7 +1050,7 @@ TEST_F(TestClsRbd, snapshots_timestamps)
   ASSERT_EQ(0, get_snapcontext(&ioctx, oid, &snapc));
   ASSERT_EQ(1u, snapc.snaps.size());
   ASSERT_EQ(0, snapshot_timestamp_list(&ioctx, oid, snapc.snaps, &snap_timestamps));
-  ASSERT_LT(0, snap_timestamps[0].tv.tv_sec);
+  ASSERT_LT(0U, snap_timestamps[0].tv.tv_sec);
   ioctx.close();
 }