Skip to content

Commit

Permalink
applications: asset_tracker_v2: 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 9175b65 commit e27a49e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/asset_tracker_v2/src/modules/cloud_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ static void qos_event_handler(const struct qos_evt *evt)
LOG_DBG("QOS_EVT_MESSAGE_REMOVED_FROM_LIST");

if (evt->message.heap_allocated) {
LOG_DBG("Freeing pointer: %p", evt->message.data.buf);
LOG_DBG("Freeing pointer: %p", (void *)evt->message.data.buf);
k_free(evt->message.data.buf);
}
break;
Expand Down

0 comments on commit e27a49e

Please sign in to comment.