We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ec4986 commit b942aabCopy full SHA for b942aab
subsys/logging/log_msg2.c
@@ -83,7 +83,7 @@ void z_impl_z_log_msg2_runtime_vcreate(uint8_t domain_id, const void *source,
83
}
84
85
if (msg && fmt) {
86
- plen = cbvprintf_package(msg->data, plen, 0, fmt, ap);
+ plen = cbvprintf_package(msg->data, (size_t)plen, 0, fmt, ap);
87
__ASSERT_NO_MSG(plen >= 0);
88
89
0 commit comments