6fb34733b5
The truncation is not possible in practice but add suitable cast to avoid the warning. samples/net/sockets/echo_server/src/tcp.c:297:54: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 5 [-Wformat-truncation=] 297 | snprintk(name, sizeof(name), "tcp4[%d]", slot); | ^~~~~~~~~~ Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no> |
||
---|---|---|
.. | ||
big_http_download | ||
can | ||
coap_client | ||
coap_download | ||
coap_server | ||
dumb_http_server | ||
dumb_http_server_mt | ||
echo | ||
echo_async | ||
echo_async_select | ||
echo_client | ||
echo_server | ||
echo_service | ||
http_client | ||
http_get | ||
http_server | ||
net_mgmt | ||
packet | ||
sntp_client | ||
socketpair | ||
tcp | ||
txtime | ||
websocket_client | ||
sockets.rst |