samples: net: echo-client: Fix compile warning
Fixes this function parameter datatype warning:
expected ‘k_thread_stack_t * {aka struct _k_thread_stack_element *}’
but argument is of type ‘u8_t * {aka unsigned char *}’
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
62fb302396
commit
643cc4a22c
@ -272,7 +272,8 @@ static void tcp_connected(struct net_app_ctx *ctx,
|
||||
|
||||
static int connect_tcp(struct net_app_ctx *ctx, const char *peer,
|
||||
void *user_data, u8_t *result_buf,
|
||||
size_t result_buf_len, u8_t *stack, size_t stack_size)
|
||||
size_t result_buf_len,
|
||||
k_thread_stack_t *stack, size_t stack_size)
|
||||
{
|
||||
struct data *data = user_data;
|
||||
int ret;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user