[KMTESTS:PO]
authorThomas Faber <thomas.faber@reactos.org>
Sun, 11 Oct 2015 17:11:53 +0000 (17:11 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 11 Oct 2015 17:11:53 +0000 (17:11 +0000)
- Fix build

svn path=/trunk/; revision=69500

rostests/kmtests/ntos_po/PoIrp_drv.c

index 7147dd1..3e063ea 100644 (file)
@@ -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);
 }