zephyr/samples/net/sockets
Jukka Rissanen 6fb34733b5 samples: net: echo_server: Avoid warning about truncated writing
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>
2024-10-25 12:50:54 -05:00
..
big_http_download yaml: use EXTRA_CONF_FILE in .yaml files 2024-10-17 09:45:25 +02:00
can boards: st: adopt new zephyr:board directive and role 2024-10-24 17:51:15 +02:00
coap_client net: Deprecate CONFIG_NET_SOCKETS_POLL_MAX 2024-10-14 13:01:51 +02:00
coap_download samples: doc: fix wrong relevant_apis references 2024-08-20 18:58:55 -04:00
coap_server net: Deprecate CONFIG_NET_SOCKETS_POLL_MAX 2024-10-14 13:01:51 +02:00
dumb_http_server yaml: use EXTRA_CONF_FILE in .yaml files 2024-10-17 09:45:25 +02:00
dumb_http_server_mt
echo boards: ti: adopt new zephyr:board directive and role 2024-10-24 17:51:15 +02:00
echo_async net: Deprecate CONFIG_NET_SOCKETS_POLL_MAX 2024-10-14 13:01:51 +02:00
echo_async_select net: Deprecate CONFIG_NET_SOCKETS_POLL_MAX 2024-10-14 13:01:51 +02:00
echo_client yaml: use EXTRA_CONF_FILE in .yaml files 2024-10-17 09:45:25 +02:00
echo_server samples: net: echo_server: Avoid warning about truncated writing 2024-10-25 12:50:54 -05:00
echo_service net: sockets: socket_service: remove k_work related code 2024-10-23 11:32:21 +02:00
http_client net: Deprecate CONFIG_NET_SOCKETS_POLL_MAX 2024-10-14 13:01:51 +02:00
http_get yaml: use EXTRA_CONF_FILE in .yaml files 2024-10-17 09:45:25 +02:00
http_server samples: net: http_server: Fix assertion on dynamic upload abort 2024-10-21 15:58:59 +02:00
net_mgmt
packet
sntp_client net: Deprecate CONFIG_NET_SOCKETS_POLL_MAX 2024-10-14 13:01:51 +02:00
socketpair
tcp
txtime
websocket_client net: Deprecate CONFIG_NET_SOCKETS_POLL_MAX 2024-10-14 13:01:51 +02:00
sockets.rst doc: samples: Adopt code-sample-category across tree 2024-09-23 12:00:00 +02:00