[ros-diffs] [hpoussin] 18005: Cast the right pointer to the
structure.
hpoussin at svn.reactos.com
hpoussin at svn.reactos.com
Fri Sep 23 10:56:04 CEST 2005
Cast the right pointer to the structure.
Fix bug 783. Thanks GvG.
Modified: trunk/reactos/lib/setupapi/devinst.c
_____
Modified: trunk/reactos/lib/setupapi/devinst.c
--- trunk/reactos/lib/setupapi/devinst.c 2005-09-23 07:32:21 UTC
(rev 18004)
+++ trunk/reactos/lib/setupapi/devinst.c 2005-09-23 08:55:33 UTC
(rev 18005)
@@ -3737,7 +3737,7 @@
{
if (DeviceInfoData)
{
- struct DeviceInfoElement *deviceInfo = (struct
DeviceInfoElement *)DeviceInfoData;
+ struct DeviceInfoElement *deviceInfo = (struct
DeviceInfoElement *)DeviceInfoData->Reserved;
deviceInfo->Flags |= DI_DIDCOMPAT;
}
else
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050923/4f8b023f/attachment.html
More information about the Ros-diffs
mailing list