networking: make skb_put & friends return void pointers
[linux-block.git] / drivers / bluetooth / bt3c_cs.c
index 8165ef2fe8777a7e119052e9d1c37848e9c6d885..be2d431aa366ffe05ef4440a5f8c93974dcf233d 100644 (file)
@@ -282,7 +282,7 @@ static void bt3c_receive(struct bt3c_info *info)
 
                        __u8 x = inb(iobase + DATA_L);
 
-                       *skb_put(info->rx_skb, 1) = x;
+                       *(u8 *)skb_put(info->rx_skb, 1) = x;
                        inb(iobase + DATA_H);
                        info->rx_count--;