winebus.sys: Remove useless casts to self.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e0419391d7
commit
d64de0e2c1
|
@ -1086,7 +1086,7 @@ static int parse_uevent_info(const char *uevent, DWORD *vendor_id,
|
|||
/* The caller has to free the serial number */
|
||||
if (*value)
|
||||
{
|
||||
*serial_number = (WCHAR*)strdupAtoW(value);
|
||||
*serial_number = strdupAtoW(value);
|
||||
found_serial = 1;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -380,7 +380,7 @@ static NTSTATUS build_device_relations(DEVICE_RELATIONS **devices)
|
|||
i = 0;
|
||||
LIST_FOR_EACH_ENTRY(ptr, &pnp_devset, struct pnp_device, entry)
|
||||
{
|
||||
(*devices)->Objects[i] = (DEVICE_OBJECT*)ptr->device;
|
||||
(*devices)->Objects[i] = ptr->device;
|
||||
i++;
|
||||
}
|
||||
LeaveCriticalSection(&device_list_cs);
|
||||
|
|
Loading…
Reference in New Issue