vda: Cast to not discard constant qualifier and silence compiler warning