From 52de37e5dcfeb9974f21601229ae0374bde6abb9 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Fri, 13 Apr 2007 02:57:32 -0400 Subject: [PATCH] Change buffer pointers to void* or safer types to avoid casts Signed-off-by: Pavel Roskin --- at76_usb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'at76_usb.h') diff --git a/at76_usb.h b/at76_usb.h index a9bae2e..944e41f 100644 --- a/at76_usb.h +++ b/at76_usb.h @@ -475,7 +475,7 @@ struct at76_priv { struct sk_buff *rx_skb; /* skbuff for receiving packets */ __u8 bulk_in_endpointAddr; /* the address of the bulk in endpoint */ - unsigned char *bulk_out_buffer; /* the buffer to send data */ + void *bulk_out_buffer; /* the buffer to send data */ int bulk_out_size; /* the size of the send buffer */ struct urb *write_urb; /* the urb used to send data */ struct urb *read_urb; @@ -492,7 +492,7 @@ struct at76_priv { struct tasklet_struct tasklet; struct urb *rx_urb; /* tmp urb pointer for rx_tasklet */ - unsigned char *ctrl_buffer; + void *ctrl_buffer; struct urb *ctrl_urb; u8 op_mode; -- cgit v1.2.3