Author: tkreuzer
Date: Thu Feb 9 11:34:21 2012
New Revision: 55510
URL:
http://svn.reactos.org/svn/reactos?rev=55510&view=rev
Log:
[CLASS2]
Fix 64 bit warnings
Modified:
trunk/reactos/drivers/storage/class/class2/class2.c
Modified: trunk/reactos/drivers/storage/class/class2/class2.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/class/clas…
==============================================================================
--- trunk/reactos/drivers/storage/class/class2/class2.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/class/class2/class2.c [iso-8859-1] Thu Feb 9 11:34:21
2012
@@ -1510,7 +1510,7 @@
srb,
irpStack->MajorFunction,
irpStack->MajorFunction == IRP_MJ_DEVICE_CONTROL ?
irpStack->Parameters.DeviceIoControl.IoControlCode : 0,
- MAXIMUM_RETRIES - ((ULONG_PTR)irpStack->Parameters.Others.Argument4),
+ MAXIMUM_RETRIES - PtrToUlong(irpStack->Parameters.Others.Argument4),
&status);
//
@@ -1662,7 +1662,7 @@
srb,
irpStack->MajorFunction,
irpStack->MajorFunction == IRP_MJ_DEVICE_CONTROL ?
irpStack->Parameters.DeviceIoControl.IoControlCode : 0,
- MAXIMUM_RETRIES - ((ULONG_PTR)irpStack->Parameters.Others.Argument4),
+ MAXIMUM_RETRIES - PtrToUlong(irpStack->Parameters.Others.Argument4),
&status);
//