jdk/src/windows/bin/java_md.c
changeset 7028 adadd244f506
parent 6535 77ffd0e75bfb
child 7048 90f459535526
--- a/jdk/src/windows/bin/java_md.c	Fri Oct 22 20:27:44 2010 +0100
+++ b/jdk/src/windows/bin/java_md.c	Mon Oct 25 10:34:26 2010 -0700
@@ -208,7 +208,7 @@
     struct stat s;
 
     /* Make sure the jrepath contains something */
-    if (jrepath[0] == NULL) {
+    if ((void*)jrepath[0] == NULL) {
         return;
     }
     /* 32 bit windows only please */
@@ -540,7 +540,7 @@
         /* get the length of the string we need */
         int len = mlen =  _vscprintf(fmt, vl) + 1;
         if (freeit) {
-           mlen += JLI_StrLen(errtext);
+           mlen += (int)JLI_StrLen(errtext);
         }
 
         message = (char *)JLI_MemAlloc(mlen);
@@ -997,7 +997,6 @@
 
         exit(exitCode);
     }
-
 }
 
 /*