Page MenuHomeFreeBSD

D52310.diff
No OneTemporary

D52310.diff

diff --git a/sys/netgraph/bluetooth/include/ng_hci.h b/sys/netgraph/bluetooth/include/ng_hci.h
--- a/sys/netgraph/bluetooth/include/ng_hci.h
+++ b/sys/netgraph/bluetooth/include/ng_hci.h
@@ -448,7 +448,7 @@
typedef bdaddr_t * bdaddr_p;
/* Any BD_ADDR. Note: This is actually 7 bytes (count '\0' terminator) */
-#define NG_HCI_BDADDR_ANY ((bdaddr_p) "\000\000\000\000\000\000")
+#define NG_HCI_BDADDR_ANY (&(const bdaddr_t){"\000\000\000\000\000\000"})
/* HCI status return parameter */
typedef struct {

File Metadata

Mime Type
text/plain
Expires
Thu, Mar 12, 8:07 AM (13 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29563060
Default Alt Text
D52310.diff (512 B)

Event Timeline