aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph/bluetooth/include/ng_hci.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netgraph/bluetooth/include/ng_hci.h')
-rw-r--r--sys/netgraph/bluetooth/include/ng_hci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/bluetooth/include/ng_hci.h b/sys/netgraph/bluetooth/include/ng_hci.h
index 44a14e62f4ed..ce3291770740 100644
--- a/sys/netgraph/bluetooth/include/ng_hci.h
+++ b/sys/netgraph/bluetooth/include/ng_hci.h
@@ -448,7 +448,7 @@ typedef struct {
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 {