6989690: java/net native code compiler warnings

Reviewed-by: alanb
This commit is contained in:
Chris Hegarty 2010-10-12 11:11:32 +01:00
parent 39bcf3ff5f
commit 9c061c00c8
2 changed files with 2 additions and 2 deletions

View File

@ -2255,7 +2255,7 @@ static void mcast_join_leave(JNIEnv *env, jobject this,
{
struct in_addr in;
struct in_addr *inP = ∈
int len = sizeof(struct in_addr);
socklen_t len = sizeof(struct in_addr);
#ifdef __linux__
struct ip_mreqn mreqn;

View File

@ -158,7 +158,7 @@ Java_sun_net_spi_DefaultProxySelector_getSystemProxy(JNIEnv *env,
char *phost = NULL;
char *mode = NULL;
int pport = 0;
int use_proxy;
int use_proxy = 0;
int use_same_proxy = 0;
const char* urlhost;
jobject isa = NULL;