[PATCH] batman-adv: remove unnecessary type castings