Skip to content

Commit

Permalink
fixed warning: type is incompatible
Browse files Browse the repository at this point in the history
  • Loading branch information
liangyongxiang committed Jul 23, 2018
1 parent f1a0631 commit 99cfb88
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 99cfb88

Please sign in to comment.