win-pvdrivers

changeset 697:eecca79475d1

fix compiler warnings
author James Harper <james.harper@bendigoit.com.au>
date Sat Nov 14 16:33:06 2009 +1100 (2009-11-14)
parents 8772b32f8ab9
children ec4a20a75657
files xenpci/xenpci_fdo.c
line diff
     1.1 --- a/xenpci/xenpci_fdo.c	Sat Nov 14 15:13:48 2009 +1100
     1.2 +++ b/xenpci/xenpci_fdo.c	Sat Nov 14 16:33:06 2009 +1100
     1.3 @@ -680,9 +680,9 @@ XenPci_EvtDeviceD0Entry(WDFDEVICE device
     1.4      for (i = 0; i < NR_GRANT_FRAMES + 1; i++)
     1.5      {
     1.6        struct xen_memory_reservation reservation;
     1.7 -      ULONG pfn;
     1.8 +      xen_pfn_t pfn;
     1.9        PMDL mdl = AllocatePage();
    1.10 -      pfn = (ULONG)(MmGetMdlPfnArray(mdl)[0]);
    1.11 +      pfn = (xen_pfn_t)(MmGetMdlPfnArray(mdl)[0]);
    1.12        reservation.address_bits = 0;
    1.13        reservation.extent_order = 0;
    1.14        reservation.domid = DOMID_SELF;