mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 19:30:58 +00:00
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 a new issue