From: Mykola Golub Date: Wed, 18 May 2016 07:14:53 +0000 (+0300) Subject: test: fix compilation warning X-Git-Tag: v11.0.0~482^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F9177%2Fhead;p=ceph.git test: fix compilation warning Signed-off-by: Mykola Golub --- diff --git a/src/test/librbd/test_librbd.cc b/src/test/librbd/test_librbd.cc index 61a723f9c88..1b8b266cf20 100644 --- a/src/test/librbd/test_librbd.cc +++ b/src/test/librbd/test_librbd.cc @@ -4119,7 +4119,7 @@ TEST_F(TestLibRBD, EventSocketEventfd) ASSERT_TRUE(poll_fd.revents & POLLIN); ASSERT_EQ(static_cast(sizeof(uint64_t)), read(event_fd, buf, 32)); - ASSERT_EQ(1, *reinterpret_cast(buf)); + ASSERT_EQ(1U, *reinterpret_cast(buf)); close(event_fd); #endif