[PATCH 2/2] batman-adv: remove unnecessary type castings