Skip to content

Commit

Permalink
net: l2: ieee802154: fix buffer pointer ref
Browse files Browse the repository at this point in the history
The uncast reference caused a cbprintf() warning on the console.

Fixes: #59125

Signed-off-by: Florian Grandel <[email protected]>
  • Loading branch information
fg-cfh authored and nashif committed Jun 13, 2023
1 parent 8d8faae commit d451895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subsys/net/l2/ieee802154/ieee802154_frame.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ static inline bool validate_addr(uint8_t *buf, uint8_t **p_buf, uint8_t *length,

*p_buf = buf;

NET_DBG("Buf %p - mode %d - pan id comp %d", buf, mode, pan_id_compression);
NET_DBG("Buf %p - mode %d - pan id comp %d", (void *)buf, mode, pan_id_compression);

if (mode == IEEE802154_ADDR_MODE_NONE) {
*addr = NULL;
Expand Down

0 comments on commit d451895

Please sign in to comment.