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:
Jukka Rissanen 2017-10-24 16:45:50 +03:00 committed by Andrew Boie
parent 62fb302396
commit 643cc4a22c

View File

@ -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;