Skip to content

Commit

Permalink
Merge pull request #18 from liangyongxiang/master
Browse files Browse the repository at this point in the history
fixed warning: type is incompatible
  • Loading branch information
armink authored Jul 23, 2018
2 parents f1a0631 + 99cfb88 commit f36c72a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iperf/iperf.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ static void iperf_client(void* thread_param)
void iperf_server(void* thread_param)
{
uint8_t *recv_data;
rt_uint32_t sin_size;
socklen_t sin_size;
rt_tick_t tick1, tick2;
int sock = -1, connected, bytes_received, recvlen;
struct sockaddr_in server_addr, client_addr;
Expand Down

0 comments on commit f36c72a

Please sign in to comment.