diff options
author | Pavel Roskin <proski@gnu.org> | 2007-04-13 02:57:32 -0400 |
---|---|---|
committer | Guido Guenther <agx@bogon.sigxcpu.org> | 2007-04-13 10:38:24 +0200 |
commit | 52de37e5dcfeb9974f21601229ae0374bde6abb9 (patch) | |
tree | 1f05f835e560b10b92d61dc5abb5fe8643cfee4e /at76_usb.h | |
parent | fd657a169b50a56b3e524aa367fe7aa39c47fd43 (diff) |
[PATCH] Change buffer pointers to void* or safer types to avoid casts
Signed-off-by: Pavel Roskin <proski@gnu.org>
Diffstat (limited to 'at76_usb.h')
-rw-r--r-- | at76_usb.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |