From 5e05f2675bde1d7220afa93a541070f8faee4d58 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Sun, 11 Oct 2015 17:11:53 +0000 Subject: [PATCH] [KMTESTS:PO] - Fix build svn path=/trunk/; revision=69500 --- rostests/kmtests/ntos_po/PoIrp_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.17.1