From 8c7f1b679d1478838456c9f72ea8051d99495361 Mon Sep 17 00:00:00 2001 From: Mykola Golub Date: Wed, 18 May 2016 10:14:53 +0300 Subject: [PATCH] test: fix compilation warning Signed-off-by: Mykola Golub --- src/test/librbd/test_librbd.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/librbd/test_librbd.cc b/src/test/librbd/test_librbd.cc index 61a723f9c889..1b8b266cf208 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 -- 2.47.3