]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test: fix compilation warning 9177/head
authorMykola Golub <mgolub@mirantis.com>
Wed, 18 May 2016 07:14:53 +0000 (10:14 +0300)
committerMykola Golub <mgolub@mirantis.com>
Wed, 18 May 2016 07:14:53 +0000 (10:14 +0300)
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
src/test/librbd/test_librbd.cc

index 61a723f9c889d0e91b303648d982e1ceba72d53d..1b8b266cf208537e50f8ca52dc66ee0fcc1f877f 100644 (file)
@@ -4119,7 +4119,7 @@ TEST_F(TestLibRBD, EventSocketEventfd)
   ASSERT_TRUE(poll_fd.revents & POLLIN);
 
   ASSERT_EQ(static_cast<ssize_t>(sizeof(uint64_t)), read(event_fd, buf, 32));
-  ASSERT_EQ(1, *reinterpret_cast<uint64_t *>(buf));
+  ASSERT_EQ(1U, *reinterpret_cast<uint64_t *>(buf));
 
   close(event_fd);
 #endif