X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=rostests%2Fkmtests%2Fntos_po%2FPoIrp_drv.c;h=3e063eaa5233b6fe2f1bf957701ce8e607d7a85d;hp=7147dd1c702491e7911d1a49a0974862d25956bb;hb=5e05f2675bde1d7220afa93a541070f8faee4d58;hpb=073a2904ca724b91f160fd4ca81f7cb448276020 diff --git a/rostests/kmtests/ntos_po/PoIrp_drv.c b/rostests/kmtests/ntos_po/PoIrp_drv.c index 7147dd1c702..3e063eaa523 100644 --- a/rostests/kmtests/ntos_po/PoIrp_drv.c +++ b/rostests/kmtests/ntos_po/PoIrp_drv.c @@ -138,7 +138,7 @@ RequestedPowerCompletion( ok_eq_uint(Irp->CurrentLocation, 4); IoStackLocation = IoGetCurrentIrpStackLocation(Irp); ok_eq_pointer(IoStackLocation->Parameters.Others.Argument1, DeviceObject); - ok_eq_pointer(IoStackLocation->Parameters.Others.Argument2, (PVOID)MinorFunction); + ok_eq_pointer(IoStackLocation->Parameters.Others.Argument2, (PVOID)(ULONG_PTR)MinorFunction); ok_eq_pointer(IoStackLocation->Parameters.Others.Argument3, (PVOID)PowerState.SystemState); ok_eq_pointer(IoStackLocation->Parameters.Others.Argument4, Context); }