Commit d64de0e2 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

winebus.sys: Remove useless casts to self.

parent e0419391
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment