projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sync with trunk r46493
[reactos.git]
/
drivers
/
storage
/
class
/
class2
/
class2.c
diff --git
a/drivers/storage/class/class2/class2.c
b/drivers/storage/class/class2/class2.c
index
517ddd4
..
cb8d1f7
100644
(file)
--- a/
drivers/storage/class/class2/class2.c
+++ b/
drivers/storage/class/class2/class2.c
@@
-1314,7
+1314,7
@@
Return Value:
// of original IRP.
//
// of original IRP.
//
- nextIrpStack->Parameters.Others.Argument1 = (PVOID) irpCount;
+ nextIrpStack->Parameters.Others.Argument1 = (PVOID)
(ULONG_PTR)
irpCount;
for (i = 0; i < irpCount; i++) {
for (i = 0; i < irpCount; i++) {
@@
-1502,7
+1502,7
@@
Return Value:
srb,
irpStack->MajorFunction,
irpStack->MajorFunction == IRP_MJ_DEVICE_CONTROL ? irpStack->Parameters.DeviceIoControl.IoControlCode : 0,
srb,
irpStack->MajorFunction,
irpStack->MajorFunction == IRP_MJ_DEVICE_CONTROL ? irpStack->Parameters.DeviceIoControl.IoControlCode : 0,
- MAXIMUM_RETRIES - ((ULONG)irpStack->Parameters.Others.Argument4),
+ MAXIMUM_RETRIES - ((ULONG
_PTR
)irpStack->Parameters.Others.Argument4),
&status);
//
&status);
//
@@
-1517,7
+1517,7
@@
Return Value:
retry = TRUE;
}
retry = TRUE;
}
- if (retry && (irpStack->Parameters.Others.Argument4 = (PVOID)((ULONG)irpStack->Parameters.Others.Argument4-1))) {
+ if (retry && (irpStack->Parameters.Others.Argument4 = (PVOID)((ULONG
_PTR
)irpStack->Parameters.Others.Argument4-1))) {
//
// Retry request.
//
// Retry request.
@@
-1654,7
+1654,7
@@
Return Value:
srb,
irpStack->MajorFunction,
irpStack->MajorFunction == IRP_MJ_DEVICE_CONTROL ? irpStack->Parameters.DeviceIoControl.IoControlCode : 0,
srb,
irpStack->MajorFunction,
irpStack->MajorFunction == IRP_MJ_DEVICE_CONTROL ? irpStack->Parameters.DeviceIoControl.IoControlCode : 0,
- MAXIMUM_RETRIES - ((ULONG)irpStack->Parameters.Others.Argument4),
+ MAXIMUM_RETRIES - ((ULONG
_PTR
)irpStack->Parameters.Others.Argument4),
&status);
//
&status);
//
@@
-1669,7
+1669,7
@@
Return Value:
retry = TRUE;
}
retry = TRUE;
}
- if (retry && (irpStack->Parameters.Others.Argument4 = (PVOID)((ULONG)irpStack->Parameters.Others.Argument4-1))) {
+ if (retry && (irpStack->Parameters.Others.Argument4 = (PVOID)((ULONG
_PTR
)irpStack->Parameters.Others.Argument4-1))) {
//
// Retry request. If the class driver has supplied a StartIo,
//
// Retry request. If the class driver has supplied a StartIo,