From 79b4bf14f7ddf72ee1faa5cb52bb6909a306ea7f Mon Sep 17 00:00:00 2001 From: Dmitry Gorbachev Date: Sun, 26 Jul 2009 09:52:00 +0000 Subject: [PATCH] Silence a warning. svn path=/trunk/; revision=42227 --- reactos/drivers/input/i8042prt/mouse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/drivers/input/i8042prt/mouse.c b/reactos/drivers/input/i8042prt/mouse.c index b0effe8051a..11838134667 100644 --- a/reactos/drivers/input/i8042prt/mouse.c +++ b/reactos/drivers/input/i8042prt/mouse.c @@ -638,7 +638,7 @@ i8042MouResetIsr( DeviceExtension->MouseTimeoutState = TimeoutStart; PortDeviceExtension = DeviceExtension->Common.PortDeviceExtension; - switch (DeviceExtension->MouseResetState) + switch ((ULONG)DeviceExtension->MouseResetState) { case 1100: /* the first ack, drop it. */ DeviceExtension->MouseResetState = ExpectingReset;