mirror of
https://github.com/reactos/reactos.git
synced 2024-09-11 05:12:43 +00:00
Fix all warnings detected by gcc 4.2
Patch by Thomas Weidenmueller svn path=/trunk/; revision=23689
This commit is contained in:
parent
0c186af160
commit
cd01646b34
|
@ -605,7 +605,7 @@ CHAR
|
|||
umss_bulkonly_get_maxlun(IN PUMSS_DEVICE_EXTENSION pdev_ext)
|
||||
{
|
||||
PURB purb = NULL;
|
||||
CHAR max_lun;
|
||||
UCHAR max_lun;
|
||||
NTSTATUS status;
|
||||
|
||||
purb = usb_alloc_mem(NonPagedPool, sizeof(URB));
|
||||
|
|
|
@ -42,7 +42,7 @@ typedef struct _USB_DRIVER_DESCRIPTION
|
|||
BYTE if_protocol; // Interface Protocol
|
||||
|
||||
// Driver Info
|
||||
PBYTE driver_name; // Driver name for Name Registry
|
||||
const char *driver_name; // Driver name for Name Registry
|
||||
BYTE dev_class; // Device Class (from SampleStorageDeviceID.h)
|
||||
BYTE dev_sub_class; // Device Subclass
|
||||
BYTE dev_protocol; // Protocol Info.
|
||||
|
|
|
@ -1343,7 +1343,7 @@ gendrv_delete_device(PUSB_DEV_MANAGER dev_mgr, PDEVICE_OBJECT dev_obj)
|
|||
BOOLEAN is_if;
|
||||
PUSB_DRIVER pdrvr;
|
||||
PGENDRV_DEVICE_EXTENSION pdev_ext;
|
||||
UCHAR dev_name[64];
|
||||
CHAR dev_name[64];
|
||||
STRING string;
|
||||
UNICODE_STRING symb_link;
|
||||
PGENDRV_DRVR_EXTENSION pdrvr_ext;
|
||||
|
@ -1579,7 +1579,7 @@ gendrv_startio(IN PDEVICE_OBJECT dev_obj, IN PIRP irp)
|
|||
}
|
||||
else
|
||||
{
|
||||
IoSetCancelRoutine(irp, NULL);
|
||||
(void)IoSetCancelRoutine(irp, NULL);
|
||||
}
|
||||
IoReleaseCancelSpinLock(old_irql);
|
||||
|
||||
|
|
|
@ -86,7 +86,7 @@ umss_create_port_device(PUSB_DEV_MANAGER dev_mgr, PUSB_DRIVER pdriver)
|
|||
// and upper driver use this to register itself
|
||||
// with umss driver for future notification of
|
||||
// pnp event. 2004-03-22 23:12:41
|
||||
UCHAR dev_name[64];
|
||||
CHAR dev_name[64];
|
||||
STRING string;
|
||||
NTSTATUS status;
|
||||
PDEVICE_OBJECT pdev;
|
||||
|
@ -136,7 +136,7 @@ umss_create_port_device(PUSB_DEV_MANAGER dev_mgr, PUSB_DRIVER pdriver)
|
|||
BOOLEAN
|
||||
umss_delete_port_device(PDEVICE_OBJECT dev_obj)
|
||||
{
|
||||
UCHAR dev_name[64];
|
||||
CHAR dev_name[64];
|
||||
STRING string;
|
||||
UNICODE_STRING symb_link;
|
||||
|
||||
|
@ -305,7 +305,7 @@ PDEVICE_OBJECT
|
|||
umss_create_device(PUSB_DEV_MANAGER dev_mgr, PUSB_DRIVER umss_drvr, DEV_HANDLE dev_handle, BOOLEAN is_if)
|
||||
{
|
||||
|
||||
UCHAR dev_name[64], dev_id;
|
||||
CHAR dev_name[64], dev_id;
|
||||
STRING string;
|
||||
NTSTATUS status;
|
||||
PDEVICE_OBJECT pdev;
|
||||
|
@ -708,7 +708,7 @@ umss_deferred_delete_device(PVOID context)
|
|||
BOOLEAN
|
||||
umss_delete_device(PUSB_DEV_MANAGER dev_mgr, PUSB_DRIVER pdrvr, PDEVICE_OBJECT dev_obj, BOOLEAN is_if)
|
||||
{
|
||||
UCHAR dev_name[64];
|
||||
CHAR dev_name[64];
|
||||
STRING string;
|
||||
UNICODE_STRING symb_link;
|
||||
PUMSS_DEVICE_EXTENSION pdev_ext;
|
||||
|
|
Loading…
Reference in a new issue