diff options
author | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2013-02-27 18:00:20 +0100 |
---|---|---|
committer | Danny Al-Gaaf <danny.al-gaaf@bisect.de> | 2013-02-27 18:00:20 +0100 |
commit | 7b7e9124fde6300eac41af5b54d39fab4a524757 (patch) | |
tree | 9b4a7168397450d3539ae308cff1236627045e70 | |
parent | 4ac5edd2d82823856d16044044f3b8f7df4b08e3 (diff) | |
download | ceph-7b7e9124fde6300eac41af5b54d39fab4a524757.tar.gz |
obj_bencher.cc: use static_cast instead of C-Style cast
Use static_cast<T>() instead of C-Style cast.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
-rw-r--r-- | src/common/obj_bencher.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/obj_bencher.cc b/src/common/obj_bencher.cc index 54ed0db3f92..07a954e3d38 100644 --- a/src/common/obj_bencher.cc +++ b/src/common/obj_bencher.cc @@ -84,7 +84,7 @@ ostream& ObjBencher::out(ostream& os) } void *ObjBencher::status_printer(void *_bencher) { - ObjBencher *bencher = (ObjBencher *)_bencher; + ObjBencher *bencher = static_cast<ObjBencher *>(_bencher); bench_data& data = bencher->data; Cond cond; int i = 0; |