Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147475157
D52310.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
512 B
Referenced Files
None
Subscribers
None
D52310.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 12, 7:18 AM (12 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29563060
Default Alt Text
D52310.diff (512 B)
Attached To
Mode
D52310: ng_hci: Cast NG_HCI_BDADDR_ANY to const bdaddr_t *
Attached
Detach File
Event Timeline
Log In to Comment