提交 042280ba 编写于 作者: C chegar

6989690: java/net native code compiler warnings

Reviewed-by: alanb
上级 f94f7f20
...@@ -2255,7 +2255,7 @@ static void mcast_join_leave(JNIEnv *env, jobject this, ...@@ -2255,7 +2255,7 @@ static void mcast_join_leave(JNIEnv *env, jobject this,
{ {
struct in_addr in; struct in_addr in;
struct in_addr *inP = ∈ struct in_addr *inP = ∈
int len = sizeof(struct in_addr); socklen_t len = sizeof(struct in_addr);
#ifdef __linux__ #ifdef __linux__
struct ip_mreqn mreqn; struct ip_mreqn mreqn;
......
...@@ -158,7 +158,7 @@ Java_sun_net_spi_DefaultProxySelector_getSystemProxy(JNIEnv *env, ...@@ -158,7 +158,7 @@ Java_sun_net_spi_DefaultProxySelector_getSystemProxy(JNIEnv *env,
char *phost = NULL; char *phost = NULL;
char *mode = NULL; char *mode = NULL;
int pport = 0; int pport = 0;
int use_proxy; int use_proxy = 0;
int use_same_proxy = 0; int use_same_proxy = 0;
const char* urlhost; const char* urlhost;
jobject isa = NULL; jobject isa = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册