Author: tfaber
Date: Sat Jan 7 18:08:10 2012
New Revision: 54867
URL:
http://svn.reactos.org/svn/reactos?rev=54867&view=rev
Log:
[CLASSPNP]
- Fix incorrect casts. Patch by Samuel Serapion
Modified:
trunk/reactos/drivers/storage/classpnp/class.c
trunk/reactos/drivers/storage/classpnp/lock.c
Modified: trunk/reactos/drivers/storage/classpnp/class.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/classpnp/c…
==============================================================================
--- trunk/reactos/drivers/storage/classpnp/class.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/classpnp/class.c [iso-8859-1] Sat Jan 7 18:08:10 2012
@@ -6564,7 +6564,7 @@
Irp->IoStatus.Status = ClassRetrieveDeviceRelations(
Fdo,
BusRelations,
- (PDEVICE_RELATIONS)&Irp->IoStatus.Information);
+ (PDEVICE_RELATIONS*)&Irp->IoStatus.Information);
InterlockedDecrement(&(fdoExtension->EnumerationInterlock));
return Irp->IoStatus.Status;
Modified: trunk/reactos/drivers/storage/classpnp/lock.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/classpnp/l…
==============================================================================
--- trunk/reactos/drivers/storage/classpnp/lock.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/classpnp/lock.c [iso-8859-1] Sat Jan 7 18:08:10 2012
@@ -133,7 +133,7 @@
}
else {
PREMOVE_TRACKING_BLOCK *removeTrackingList =
- (PREMOVE_TRACKING_BLOCK)&commonExtension->RemoveTrackingList;
+
(PREMOVE_TRACKING_BLOCK*)&commonExtension->RemoveTrackingList;
KIRQL oldIrql;
@@ -219,7 +219,7 @@
#if DBG
PREMOVE_TRACKING_BLOCK *listEntry =
- (PREMOVE_TRACKING_BLOCK)&commonExtension->RemoveTrackingList;
+ (PREMOVE_TRACKING_BLOCK*)&commonExtension->RemoveTrackingList;
BOOLEAN found = FALSE;
@@ -382,7 +382,7 @@
#if DBG
PCOMMON_DEVICE_EXTENSION commonExtension = DeviceObject->DeviceExtension;
PREMOVE_TRACKING_BLOCK *listEntry =
- (PREMOVE_TRACKING_BLOCK)&commonExtension->RemoveTrackingList;
+ (PREMOVE_TRACKING_BLOCK*)&commonExtension->RemoveTrackingList;
KIRQL oldIrql;