summaryrefslogtreecommitdiffstats
path: root/src/usr/vfs/vfsrp.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/vfs/vfsrp.C')
-rw-r--r--src/usr/vfs/vfsrp.C3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usr/vfs/vfsrp.C b/src/usr/vfs/vfsrp.C
index 723e565a3..4abbba0ef 100644
--- a/src/usr/vfs/vfsrp.C
+++ b/src/usr/vfs/vfsrp.C
@@ -69,7 +69,8 @@ void VfsRp::init( void * i_taskArgs )
{
errlHndl_t err = NULL;
err = Singleton<VfsRp>::instance()._init();
- INITSERVICE::TaskArgs::TaskArgs* args = (INITSERVICE::TaskArgs::TaskArgs*)i_taskArgs;
+ INITSERVICE::TaskArgs* args =
+ static_cast<INITSERVICE::TaskArgs*>(i_taskArgs);
if(err)
{
args->postErrorLog(err);
OpenPOWER on IntegriCloud