ArmPkg: fix compilation error in ArmDmaLib
authorLeif Lindholm <leif.lindholm@linaro.org>
Thu, 1 Dec 2016 16:31:03 +0000 (16:31 +0000)
committerLeif Lindholm <leif.lindholm@linaro.org>
Thu, 1 Dec 2016 17:02:13 +0000 (17:02 +0000)
commit018c3c0b3e0c04f7f422a0b41b228482870d11f0
tree09934568c119abcc4c348b2a2a555d759eedb834
parentc608cda5c1afe9a5c3bbefc7b3682e1f1d40f365
ArmPkg: fix compilation error in ArmDmaLib

Commit 0a99a65d2c8a ("fix incorrect device address of double buffer")
retained an explicit cast on the variable "Buffer" which became
incorrect with the other changes, leading to compilation failures
with some toolchains. Drop the cast.

Contributed-under: TianoCore Contribution Agreement 1.0
Reported-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Tested-by: Sudeep Holla <sudeep.holla@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
ArmPkg/Library/ArmDmaLib/ArmDmaLib.c