Skip to content
Commit aae379f2 authored by Jun Qing Zou's avatar Jun Qing Zou Committed by Carles Cufí
Browse files

net: mqtt: Debug logging of pointers



Cast pointer to `void *` for `%p` parameter.
Otherwise lots of warnings in the log like below:

 `<wrn> cbprintf_package: (unsigned) char * used for %p argument.
 It's recommended to cast it to void * because it may cause
 misbehavior in certain configurations. String:"%s: (%p): >>
 length:0x%08x cur:%p, end:%p" argument:3`

Signed-off-by: default avatarJun Qing Zou <jun.qing.zou@nordicsemi.no>
parent d7ca0153
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment