From cbd324da593c18b405ff3b712412ec0a9339661d Mon Sep 17 00:00:00 2001 From: Danny Al-Gaaf Date: Wed, 3 Sep 2014 17:51:04 +0200 Subject: [PATCH] FileStore.cc: use static_cast instead of c-style cast Signed-off-by: Danny Al-Gaaf --- src/os/FileStore.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/FileStore.cc b/src/os/FileStore.cc index 4e7c1a32f24..0134c1b9ed9 100644 --- a/src/os/FileStore.cc +++ b/src/os/FileStore.cc @@ -2226,7 +2226,7 @@ unsigned FileStore::_do_transaction( dout(10) << "_do_transaction on " << &t << dendl; #ifdef WITH_LTTNG - const char *osr_name = t.get_osr() ? ((OpSequencer*)t.get_osr())->get_name().c_str() : ""; + const char *osr_name = t.get_osr() ? static_cast(t.get_osr())->get_name().c_str() : ""; #endif Transaction::iterator i = t.begin(); -- 2.47.3