Skip to content

Commit

Permalink
lib: qos: Silence cbprint warning
Browse files Browse the repository at this point in the history
Silence cbprint warning that recommends casting argument used in
print statements to void * to avoid misbehavior in certain
configurations.

Signed-off-by: Simen S. Røstad <[email protected]>
  • Loading branch information
simensrostad authored and rlubos committed Nov 9, 2022
1 parent e27a49e commit 6930355
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/qos/qos.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ void qos_message_print(const struct qos_data *message)
LOG_DBG("Notified count: %d", message->notified_count);
LOG_DBG("Message heap_allocated: %d", message->heap_allocated);
LOG_DBG("Message ID: %d", message->id);
LOG_DBG("Message Buffer pointer: %p", message->data.buf);
LOG_DBG("Message Buffer pointer: %p", (void *)message->data.buf);
LOG_DBG("Message Buffer length: %d", message->data.len);
LOG_DBG("Message Flags: %x", message->flags);
LOG_DBG("Message type: %d", message->type);
Expand Down

0 comments on commit 6930355

Please sign in to comment.