Author: tfaber
Date: Mon Jan 23 00:27:30 2012
New Revision: 55084
URL:
http://svn.reactos.org/svn/reactos?rev=55084&view=rev
Log:
[USBHUB_NEW]
- Fix another calling convention issue
Modified:
branches/usb-bringup-trunk/drivers/usb/usbhub_new/fdo.c
Modified: branches/usb-bringup-trunk/drivers/usb/usbhub_new/fdo.c
URL:
http://svn.reactos.org/svn/reactos/branches/usb-bringup-trunk/drivers/usb/u…
==============================================================================
--- branches/usb-bringup-trunk/drivers/usb/usbhub_new/fdo.c [iso-8859-1] (original)
+++ branches/usb-bringup-trunk/drivers/usb/usbhub_new/fdo.c [iso-8859-1] Mon Jan 23
00:27:30 2012
@@ -465,7 +465,7 @@
}
WorkItemData->Context = RealDeviceObject;
DPRINT1("Initialize work item\n");
- ExInitializeWorkItem(&WorkItemData->WorkItem,
(PWORKER_THREAD_ROUTINE)DeviceStatusChangeThread, (PVOID)WorkItemData);
+ ExInitializeWorkItem(&WorkItemData->WorkItem, DeviceStatusChangeThread,
(PVOID)WorkItemData);
//
// Queue the work item to handle initializing the device
@@ -1335,6 +1335,7 @@
}
VOID
+NTAPI
RootHubInitCallbackFunction(
PVOID Context)
{
@@ -1687,7 +1688,7 @@
{
Status =
HubDeviceExtension->HubInterface.RootHubInitNotification(HubInterfaceBusContext,
DeviceObject,
-
(PRH_INIT_CALLBACK)RootHubInitCallbackFunction);
+
RootHubInitCallbackFunction);
if (!NT_SUCCESS(Status))
{
DPRINT1("Failed to set callback\n");