Author: hpoussin
Date: Wed Jun 7 21:33:57 2006
New Revision: 22275
URL:
http://svn.reactos.ru/svn/reactos?rev=22275&view=rev
Log:
Some 64 fixes
Modified:
trunk/reactos/drivers/input/sermouse/detect.c
trunk/reactos/drivers/input/sermouse/fdo.c
trunk/reactos/drivers/input/sermouse/sermouse.h
Modified: trunk/reactos/drivers/input/sermouse/detect.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/drivers/input/sermouse/dete…
==============================================================================
--- trunk/reactos/drivers/input/sermouse/detect.c (original)
+++ trunk/reactos/drivers/input/sermouse/detect.c Wed Jun 7 21:33:57 2006
@@ -20,9 +20,9 @@
IN PDEVICE_OBJECT DeviceObject,
IN ULONG CtlCode,
IN PVOID InputBuffer OPTIONAL,
- IN ULONG InputBufferSize,
+ IN ULONG_PTR InputBufferSize,
IN OUT PVOID OutputBuffer OPTIONAL,
- IN OUT PULONG OutputBufferSize)
+ IN OUT PULONG_PTR OutputBufferSize)
{
KEVENT Event;
PIRP Irp;
@@ -106,7 +106,7 @@
IN PDEVICE_OBJECT LowerDevice,
OUT PUCHAR Buffer,
IN ULONG BufferSize,
- OUT PULONG FilledBytes)
+ OUT PULONG_PTR FilledBytes)
{
PIRP Irp;
IO_STATUS_BLOCK ioStatus;
@@ -160,7 +160,7 @@
ULONG Command;
SERIAL_TIMEOUTS Timeouts;
SERIAL_LINE_CONTROL LCR;
- ULONG i, Count = 0;
+ ULONG_PTR i, Count = 0;
UCHAR Buffer[16];
SERMOUSE_MOUSE_TYPE MouseType = mtNone;
NTSTATUS Status;
Modified: trunk/reactos/drivers/input/sermouse/fdo.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/drivers/input/sermouse/fdo.…
==============================================================================
--- trunk/reactos/drivers/input/sermouse/fdo.c (original)
+++ trunk/reactos/drivers/input/sermouse/fdo.c Wed Jun 7 21:33:57 2006
@@ -139,7 +139,7 @@
{
ULONG MinorFunction;
PIO_STACK_LOCATION Stack;
- ULONG Information = 0;
+ ULONG_PTR Information = 0;
NTSTATUS Status;
Stack = IoGetCurrentIrpStackLocation(Irp);
Modified: trunk/reactos/drivers/input/sermouse/sermouse.h
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/drivers/input/sermouse/serm…
==============================================================================
--- trunk/reactos/drivers/input/sermouse/sermouse.h (original)
+++ trunk/reactos/drivers/input/sermouse/sermouse.h Wed Jun 7 21:33:57 2006
@@ -54,7 +54,7 @@
typedef struct _SERMOUSE_DRIVER_EXTENSION
{
- ULONG NumberOfButtons;
+ USHORT NumberOfButtons;
} SERMOUSE_DRIVER_EXTENSION, *PSERMOUSE_DRIVER_EXTENSION;
typedef struct _SERMOUSE_DEVICE_EXTENSION