mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[DRIVERS]
Fix a few MSVC warnings svn path=/trunk/; revision=66269
This commit is contained in:
parent
2566611f13
commit
279e2f65b3
4 changed files with 16 additions and 14 deletions
|
@ -352,7 +352,8 @@ int acpi_device_sleep_wake(struct acpi_device *dev,
|
|||
*/
|
||||
int acpi_enable_wakeup_device_power(struct acpi_device *dev, int sleep_state)
|
||||
{
|
||||
int i, err = 0;
|
||||
unsigned int i;
|
||||
int err = 0;
|
||||
|
||||
if (!dev || !dev->wakeup.flags.valid)
|
||||
return -1;
|
||||
|
@ -396,7 +397,8 @@ int acpi_enable_wakeup_device_power(struct acpi_device *dev, int sleep_state)
|
|||
*/
|
||||
int acpi_disable_wakeup_device_power(struct acpi_device *dev)
|
||||
{
|
||||
int i, err = 0;
|
||||
unsigned int i;
|
||||
int err = 0;
|
||||
|
||||
if (!dev || !dev->wakeup.flags.valid)
|
||||
return -1;
|
||||
|
@ -486,7 +488,7 @@ acpi_power_transition (
|
|||
int result = 0;
|
||||
struct acpi_handle_list *cl = NULL; /* Current Resources */
|
||||
struct acpi_handle_list *tl = NULL; /* Target Resources */
|
||||
int i = 0;
|
||||
unsigned int i = 0;
|
||||
|
||||
if (!device || (state < ACPI_STATE_D0) || (state > ACPI_STATE_D3))
|
||||
return_VALUE(-1);
|
||||
|
|
|
@ -210,7 +210,7 @@ DeviceStatusChangeThread(
|
|||
PHUB_DEVICE_EXTENSION HubDeviceExtension;
|
||||
PWORK_ITEM_DATA WorkItemData;
|
||||
PORT_STATUS_CHANGE PortStatus;
|
||||
LONG PortId;
|
||||
ULONG PortId;
|
||||
BOOLEAN SignalResetComplete = FALSE;
|
||||
|
||||
DPRINT("Entered DeviceStatusChangeThread, Context %x\n", Context);
|
||||
|
|
|
@ -307,7 +307,7 @@ USBHUB_PdoHandleInternalDeviceControl(
|
|||
case IOCTL_INTERNAL_USB_GET_PORT_STATUS:
|
||||
{
|
||||
PORT_STATUS_CHANGE PortStatus;
|
||||
LONG PortId;
|
||||
ULONG PortId;
|
||||
PUCHAR PortStatusBits;
|
||||
|
||||
PortStatusBits = (PUCHAR)Stack->Parameters.Others.Argument1;
|
||||
|
|
|
@ -40,7 +40,7 @@ USBSTOR_FdoHandleDeviceRelations(
|
|||
IN OUT PIRP Irp)
|
||||
{
|
||||
ULONG DeviceCount = 0;
|
||||
ULONG Index;
|
||||
LONG Index;
|
||||
PDEVICE_RELATIONS DeviceRelations;
|
||||
PIO_STACK_LOCATION IoStack;
|
||||
|
||||
|
|
Loading…
Reference in a new issue