]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test: fix compile warning in ceph_test_cls_rbd 15919/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 26 Jun 2017 12:57:37 +0000 (08:57 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 26 Jun 2017 12:57:37 +0000 (08:57 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/test/cls_rbd/test_cls_rbd.cc

index 186020024e92b692877568bca054328d3d5b0ab4..8ec0165cbb1e193767b2e063110daa764c8432de 100644 (file)
@@ -431,7 +431,7 @@ TEST_F(TestClsRbd, get_create_timestamp)
 
   utime_t timestamp;
   ASSERT_EQ(0, get_create_timestamp(&ioctx, oid, &timestamp));
-  ASSERT_LT(0, timestamp.tv.tv_sec);
+  ASSERT_LT(0U, timestamp.tv.tv_sec);
 
   ioctx.close();
 }