diff options
author | Scott Duplichan <scott@notabs.org> | 2014-11-14 17:35:35 +0000 |
---|---|---|
committer | lersek <lersek@Edk2> | 2014-11-14 17:35:35 +0000 |
commit | 017a48664a4f8718d00102eb94ac6b21185e5c21 (patch) | |
tree | 2747d282abaf176125818a98eabadff68de0f139 /OvmfPkg/XenBusDxe/XenHypercall.c | |
parent | cec6ad0a4082545fa9f8d2b8e7612daa96f6672d (diff) | |
download | edk2-platforms-017a48664a4f8718d00102eb94ac6b21185e5c21.tar.xz |
OvmfPkg/XenBusDxe: fix VS2010 build failures
This patch contain only type cast.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Scott Duplichan <scott@notabs.org>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Build-tested-by: Scott Duplichan <scott@notabs.org>
Acked-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16392 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/XenBusDxe/XenHypercall.c')
-rw-r--r-- | OvmfPkg/XenBusDxe/XenHypercall.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OvmfPkg/XenBusDxe/XenHypercall.c b/OvmfPkg/XenBusDxe/XenHypercall.c index 15e9e1c799..34d92e76b7 100644 --- a/OvmfPkg/XenBusDxe/XenHypercall.c +++ b/OvmfPkg/XenBusDxe/XenHypercall.c @@ -53,7 +53,7 @@ XenHypercallHvmGetParam ( Parameter.domid = DOMID_SELF;
Parameter.index = Index;
- Error = XenHypercall2 (Dev->Hyperpage + __HYPERVISOR_hvm_op * 32,
+ Error = XenHypercall2 ((UINT8*)Dev->Hyperpage + __HYPERVISOR_hvm_op * 32,
HVMOP_get_param, (INTN) &Parameter);
if (Error != 0) {
DEBUG ((EFI_D_ERROR,
@@ -72,7 +72,7 @@ XenHypercallMemoryOp ( )
{
ASSERT (Dev->Hyperpage != NULL);
- return XenHypercall2 (Dev->Hyperpage + __HYPERVISOR_memory_op * 32,
+ return XenHypercall2 ((UINT8*)Dev->Hyperpage + __HYPERVISOR_memory_op * 32,
Operation, (INTN) Arguments);
}
@@ -84,7 +84,7 @@ XenHypercallEventChannelOp ( )
{
ASSERT (Dev->Hyperpage != NULL);
- return XenHypercall2 (Dev->Hyperpage + __HYPERVISOR_event_channel_op * 32,
+ return XenHypercall2 ((UINT8*)Dev->Hyperpage + __HYPERVISOR_event_channel_op * 32,
Operation, (INTN) Arguments);
}
|