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
This commit is contained in:
@@ -29,7 +29,7 @@ XenEventChannelNotify (
|
||||
|
||||
Send.port = Port;
|
||||
ReturnCode = XenHypercallEventChannelOp (Dev, EVTCHNOP_send, &Send);
|
||||
return ReturnCode;
|
||||
return (UINT32)ReturnCode;
|
||||
}
|
||||
|
||||
UINT32
|
||||
@@ -48,7 +48,7 @@ XenBusEventChannelAllocate (
|
||||
|
||||
Parameter.dom = DOMID_SELF;
|
||||
Parameter.remote_dom = DomainId;
|
||||
ReturnCode = XenHypercallEventChannelOp (Private->Dev,
|
||||
ReturnCode = (UINT32)XenHypercallEventChannelOp (Private->Dev,
|
||||
EVTCHNOP_alloc_unbound,
|
||||
&Parameter);
|
||||
if (ReturnCode != 0) {
|
||||
@@ -84,5 +84,5 @@ XenBusEventChannelClose (
|
||||
|
||||
Private = XENBUS_PRIVATE_DATA_FROM_THIS (This);
|
||||
Close.port = Port;
|
||||
return XenHypercallEventChannelOp (Private->Dev, EVTCHNOP_close, &Close);
|
||||
return (UINT32)XenHypercallEventChannelOp (Private->Dev, EVTCHNOP_close, &Close);
|
||||
}
|
||||
|
Reference in New Issue
Block a user