From: Danny Al-Gaaf Date: Fri, 1 Mar 2013 15:04:24 +0000 (+0100) Subject: os/FileStore.cc: use static_cast instead of C-Style cast X-Git-Tag: v0.59~54^2~13 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a68411bd52d4793013b2a6ef73face5b11879f60;p=ceph.git os/FileStore.cc: use static_cast instead of C-Style cast Signed-off-by: Danny Al-Gaaf --- diff --git a/src/os/FileStore.cc b/src/os/FileStore.cc index d487ba05d8e1..674b26db1648 100644 --- a/src/os/FileStore.cc +++ b/src/os/FileStore.cc @@ -2029,7 +2029,7 @@ int FileStore::queue_transactions(Sequencer *posr, list &tls, if (!posr) posr = &default_osr; if (posr->p) { - osr = (OpSequencer *)posr->p; + osr = static_cast(posr->p); dout(5) << "queue_transactions existing " << *osr << "/" << osr->parent << dendl; //<< " w/ q " << osr->q << dendl; } else { osr = new OpSequencer;