Skip to content
Commit 225dc3f6 authored by Flavio Santes's avatar Flavio Santes Committed by Tomasz Bursztyka
Browse files

samples/net: Fix logging format error



When building the echo_client sample app, the following warning
is found:

echo-client.c:37:
echo_client/src/echo-client.c: In function 'send_ipv4_data':
include/logging/sys_log.h:108:20: warning: format '%d' expects argument
                                  of type 'int', but argument 7 has
                                  type 'size_t' ...

So, this patch changes %d by %zu to remove that warning.

Change-Id: I8a3822bca6d5988e531684d647de93bd77aabf9b
Signed-off-by: default avatarFlavio Santes <flavio.santes@intel.com>
parent 65cf8c76
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment