win-pvdrivers

changeset 776:5e3af133e8a6

Fix an x64 compile error. A few more to go though...
author James Harper <james.harper@bendigoit.com.au>
date Sun Feb 07 09:53:21 2010 +1100 (2010-02-07)
parents 31c56358c9fc
children c142b27167e6
files xenpci/gnttbl.c
line diff
     1.1 --- a/xenpci/gnttbl.c	Sun Feb 07 09:14:18 2010 +1100
     1.2 +++ b/xenpci/gnttbl.c	Sun Feb 07 09:53:21 2010 +1100
     1.3 @@ -39,7 +39,7 @@ GntTbl_GetRef(PVOID Context)
     1.4      KdPrint((__DRIVER_NAME "     No free grant refs\n"));
     1.5      return INVALID_GRANT_REF;
     1.6    }
     1.7 -  ref = (grant_ref_t)ptr_ref;
     1.8 +  ref = (grant_ref_t)(ULONG_PTR)ptr_ref;
     1.9  
    1.10    return ref;
    1.11  }