From 2536c374ebd7fca8255876596f6f60ddf93ca12b Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Fri, 7 Nov 2008 18:20:18 +0000 Subject: [PATCH] - Fix build. svn path=/trunk/; revision=37245 --- reactos/include/ddk/winddk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/include/ddk/winddk.h b/reactos/include/ddk/winddk.h index c41b093dc13..30531924dab 100644 --- a/reactos/include/ddk/winddk.h +++ b/reactos/include/ddk/winddk.h @@ -9206,7 +9206,7 @@ IoReuseIrp( * IN PDRIVER_CANCEL CancelRoutine) */ #define IoSetCancelRoutine( Irp, NewCancelRoutine ) ( \ - InterlockedExchange( (PLONG)&(Irp)->CancelRoutine, (LONG)(NewCancelRoutine) ) ) + (PDRIVER_CANCEL)InterlockedExchange( (PLONG)&(Irp)->CancelRoutine, (LONG)(NewCancelRoutine) ) ) /*