mc_pos_control: compiler warning fix