From 9d63eb837a60d18f78a8353fe4e4d52decc627ca Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 10 May 2022 17:02:40 +0200 Subject: [PATCH] added void cast --- bsp_hosted/InitMission.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/bsp_hosted/InitMission.cpp b/bsp_hosted/InitMission.cpp index 0ca59db5..359dc2df 100644 --- a/bsp_hosted/InitMission.cpp +++ b/bsp_hosted/InitMission.cpp @@ -131,6 +131,7 @@ void initmission::initTasks() { PeriodicTaskIF* testTask = factory->createPeriodicTask( "TEST_TASK", 40, PeriodicTaskIF::MINIMUM_STACK_SIZE, 2.0, missedDeadlineFunc); + static_cast(testTask); #if OBSW_ADD_TEST_CODE == 1 result = testTask->addComponent(objects::TEST_TASK); if (result != HasReturnvaluesIF::RETURN_OK) {