mirror of
https://github.com/reactos/reactos.git
synced 2025-04-21 04:37:15 +00:00
Cast the right pointer to the structure.
Fix bug 783. Thanks GvG. svn path=/trunk/; revision=18005
This commit is contained in:
parent
9c356c1031
commit
0c7bb23c18
1 changed files with 1 additions and 1 deletions
|
@ -3737,7 +3737,7 @@ done:
|
||||||
{
|
{
|
||||||
if (DeviceInfoData)
|
if (DeviceInfoData)
|
||||||
{
|
{
|
||||||
struct DeviceInfoElement *deviceInfo = (struct DeviceInfoElement *)DeviceInfoData;
|
struct DeviceInfoElement *deviceInfo = (struct DeviceInfoElement *)DeviceInfoData->Reserved;
|
||||||
deviceInfo->Flags |= DI_DIDCOMPAT;
|
deviceInfo->Flags |= DI_DIDCOMPAT;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue