iox-#536 removed another unnecessary static_cast
iox-#536 removed another unnecessary static_cast

Signed-off-by: enkeyz <957cbbcf9bf939c8093ae6c442d480436d01a01a@gmail.com>

eclipse-iceoryx/iceoryx,eclipse-iceoryx/iceoryx,eclipse-iceoryx/iceoryx,eclipse-iceoryx/iceoryx