From 7b7e9124fde6300eac41af5b54d39fab4a524757 Mon Sep 17 00:00:00 2001 From: Danny Al-Gaaf Date: Wed, 27 Feb 2013 18:00:20 +0100 Subject: [PATCH] obj_bencher.cc: use static_cast instead of C-Style cast Use static_cast() instead of C-Style cast. Signed-off-by: Danny Al-Gaaf --- src/common/obj_bencher.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/obj_bencher.cc b/src/common/obj_bencher.cc index 54ed0db3f9228..07a954e3d38c1 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(_bencher); bench_data& data = bencher->data; Cond cond; int i = 0; -- 2.39.5