From 5393f32bbf6cb7e29aeb301931698ecc92816e84 Mon Sep 17 00:00:00 2001 From: Danny Al-Gaaf Date: Thu, 5 Mar 2015 03:45:45 +0100 Subject: [PATCH] TestErasureCodeShec_thread.cc: use static_cast instead of c-style Signed-off-by: Danny Al-Gaaf --- src/test/erasure-code/TestErasureCodeShec_thread.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/erasure-code/TestErasureCodeShec_thread.cc b/src/test/erasure-code/TestErasureCodeShec_thread.cc index fdd6bfeee3b..eaefa760a8e 100644 --- a/src/test/erasure-code/TestErasureCodeShec_thread.cc +++ b/src/test/erasure-code/TestErasureCodeShec_thread.cc @@ -99,7 +99,7 @@ int main(int argc, char **argv) void* thread1(void* pParam) { - TestParam* param = (TestParam*) pParam; + TestParam* param = static_cast(pParam); time_t start, end; int r;