[netperf-dev] netperf2 commit notice r332 - trunk/src
raj at netperf.org
raj at netperf.org
Mon Sep 28 14:54:31 PDT 2009
Author: raj
Date: 2009-09-28 14:54:29 -0700 (Mon, 28 Sep 2009)
New Revision: 332
Modified:
trunk/src/nettest_unix.c
Log:
use netperf_socklen_t for nettest_unix.c rather than int to address warnings on some platforms
Modified: trunk/src/nettest_unix.c
===================================================================
--- trunk/src/nettest_unix.c 2009-09-28 18:51:48 UTC (rev 331)
+++ trunk/src/nettest_unix.c 2009-09-28 21:54:29 UTC (rev 332)
@@ -710,7 +710,7 @@
struct sockaddr_un myaddr_un, peeraddr_un;
SOCKET s_listen,s_data;
- int addrlen;
+ netperf_socklen_t addrlen;
int len;
int receive_calls = 0;
float elapsed_time;
@@ -2745,7 +2745,7 @@
struct sockaddr_un myaddr_un,
peeraddr_un;
SOCKET s_data;
- int addrlen;
+ netperf_socklen_t addrlen;
int trans_received = 0;
int trans_remaining;
float elapsed_time;
@@ -3033,7 +3033,7 @@
struct sockaddr_un myaddr_un,
peeraddr_un;
SOCKET s_listen,s_data;
- int addrlen;
+ netperf_socklen_t addrlen;
char *temp_message_ptr;
int trans_received = 0;
int trans_remaining;
More information about the netperf-dev
mailing list