[FIX] Cast warnings