diff options
Diffstat (limited to 'pcap-bt-monitor-linux.c')
-rw-r--r-- | pcap-bt-monitor-linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-bt-monitor-linux.c b/pcap-bt-monitor-linux.c index 09abbe5c..ac54289d 100644 --- a/pcap-bt-monitor-linux.c +++ b/pcap-bt-monitor-linux.c @@ -82,7 +82,7 @@ bt_monitor_read(pcap_t *handle, int max_packets _U_, pcap_handler callback, u_ch ssize_t ret; struct pcap_pkthdr pkth; pcap_bluetooth_linux_monitor_header *bthdr; - char *pktd; + u_char *pktd; struct hci_mon_hdr hdr; pktd = (char *)handle->buffer + BT_CONTROL_SIZE; |