diff options
author | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2013-03-01 16:04:24 +0100 |
---|---|---|
committer | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2013-03-01 16:04:24 +0100 |
commit | a68411bd52d4793013b2a6ef73face5b11879f60 (patch) | |
tree | 65876227a430f5b83bafff9b6df8fb0e9caf32c9 | |
parent | f1f1c77697f72578fe58f155b7cdee1ec305bc62 (diff) | |
download | ceph-a68411bd52d4793013b2a6ef73face5b11879f60.tar.gz |
os/FileStore.cc: use static_cast instead of C-Style cast
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
-rw-r--r-- | src/os/FileStore.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/FileStore.cc b/src/os/FileStore.cc index d487ba05d8e..674b26db164 100644 --- a/src/os/FileStore.cc +++ b/src/os/FileStore.cc @@ -2029,7 +2029,7 @@ int FileStore::queue_transactions(Sequencer *posr, list<Transaction*> &tls, if (!posr) posr = &default_osr; if (posr->p) { - osr = (OpSequencer *)posr->p; + osr = static_cast<OpSequencer *>(posr->p); dout(5) << "queue_transactions existing " << *osr << "/" << osr->parent << dendl; //<< " w/ q " << osr->q << dendl; } else { osr = new OpSequencer; |